When trees are planted on farms alongside food crops, it's called agroforestry. Farmers often use agroforestry to grow trees that can be used for fuel or lumber.
Agroforestry is from the Greek agros, "field," and a Latin root meaning "woods." This agricultural system, sometimes called "forest farming," involves managing farmed land in a way that mixes pasture, crops, trees, and shrubs. Planting so diversely tends to be good for the soil and water quality, and it supports more wildlife and pollinating insects too. Integrating apple trees, lavender plants, dairy goats, and pine trees on one farm would be an example of agroforestry.