The practice probably started in several parts of the world over ten thousand years ago, with families growing vegetables for their own consumption or to trade locally.
Later, farms on the edge of large communities could specialize in vegetable production, with the short distance allowing the farmer to get his produce to market while still fresh.
Over the past 100 years a new technique has emerged—raised bed gardening, which has increased yields from small plots of soil without the need for commercial, energy-intensive fertilizers.
A farm may produce a variety of vegetables for sale through an on-Farm Stalls, a local farmer's markets, or a u-pick operation.
Large cities often have a central produce market which handles vegetables in a commodity-like manner, and manages distribution to most supermarkets and restaurants.