Summary:
A city requires 2 food per citizen (another term for "population") per turn to avoid starvation. A city acquires food (as well as production and gold) by assigning its citizens to "work" the land around the city. The city can work any tile within three spaces of the city that is also within the civilization's borders, provided as well that it is not being worked by another city.
Left to its own devices, the city will assign as many citizens as needed to acquire its food. If not enough is available, the city will starve, losing citizens until it can support itself.