Summary:
If you're "friends" with a city-state, the city-state will periodically give you gifts - a cultured city-state will give you culture; a maritime city-state will give you food; a militaristic city-state will give you military units; a mercantile city-state will give you happiness; and a religious city-state will give you faith.