Summary:
You can exchange gold with other civilizations for any number of reasons - trading it for resources, for example, to get the other civ to make peace with you, or to bribe the civ to attack a third. Gold is extremely useful in negotiations.
There are two different ways to exchange gold: flat fee and per turn.