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 2260, an enormous herd of dranzers trampled several hundred thousand square kilometers of grain crops planted on Ribol II and threatened to do the same in 2268. (TOS audiobook: The Logistics of Stampede)
In 2274, Husians forced women from the USS Enterprise and USS Venture to cultivate triticale-like grain crops on Hus-24. Nyota Uhura lit the crops on fire as a diversion so the crews could escape. (TOS comic: "Husian Gambit")
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")