Summary:

The farm is the earliest and most commonly-constructed improvement. All civilizations begin play knowing how to farm. Farm improvements can be constructed in most tiles, and atop a number of resources:
Technology Required: Agriculture (acquired at start of game)
May Be Constructed: Farm improvements cannot be built on ice, mountains or Natural Wonders. They can only be built on hills and desert tiles if the tile is next to a source of fresh water such as rivers, lakes, or another farm improvement. Farms increase the tile's output by 1 food.
Duration of Construction: 5 Turns
Forest: Farms may be constructed in forested tiles once you learn the mining tech. The forest is removed when the farm is built. Total Construction Time: 9 Turns
Jungle: Farms may be constructed in jungle tiles once you learn the bronze working tech. The jungle is removed when the farm is built. Total Construction Time: 12 Turns
Marsh: Farms may be constructed in marsh tiles when you learn the masonry tech. The marsh is removed when the farm is constructed. Total Construction Time: 11 Turns
Resources Accessed: Farms can access the wheat resource, increasing the tile's output by 1 food and 1 gold.