Agriculture, or farming, is the production of food and resources by the processes of growing planets and rearing animals.
In the 23rd century the planet Prairie took agriculture to extreme proportions with huge fields of produce harvested over periods of months by massive crewed vehicles called harvester rigs. (EV comic: "The Flat, Gold Forever")
In the 24th century a series of domes built on the Maltese asteroid belt formed an agricultural colony called The Armada. The Armada grew organic crops of fruits and vegetables which fed the people of an entire sector. (TNG - The Space Between comic: "Space Seeds")