Modding is simply short for modifying, and to modify something is to change it, usually to improve or correct it.
In gaming, a mod is a fan-made alteration: a new level, a different character model, a rebalanced weapon or a total conversion into another kind of game entirely. Some communities build their most memorable experiences this way, long after the original developers have moved on.