Summary:

You can purchase units or buildings with gold from within your city screen. This can be helpful if you need something in a hurry, like additional units to defend against an invader.