Modding, short for modifying meaning: taking the game and modifying it to better suit your own tastes. Civilization V provides exceptionally good modding facilities. Units and such have their parameters defined in XML files and there is lots of the actual gameplay logic in the lua files. The developers also offer free tools, downloadable via Steam, for modding.
Making use of the Steam Workshop is the easiest way for players to mod their games.