Summary:

If you want to improve your relationship with a city-state, one way to do so is to give it some gold. Increasing amounts of gold may be given for larger boosts to friendship.