There are some farms scattered around the world which are accessible to all. Here you can harvest food which you can sell or use to cook.
Farms need time to regenerate but when full they contain 12 items. Each item takes 1 turn to pick up, when using the "all" option you maximum take 10 turns.
You can build your own farms. For this you need a farm scroll/blueprint. With these scrolls you can build your own farm on a vacant lot and nobody but you will be able to visit and harvest. The key will is stored in your "special items", so you won't loose it when dying. You can also now craft some of your own farm blueprints using the Magical Printing Press
There are farms for different kind of animals/fish/crops. You can buy them at the Scroll Shop, located in each village.