Contract farming is an agreement between a buyer and a farmer or producer that outlines the terms and conditions for the production and marketing of farm products. The agreement is usually made in advance and specifies the price, quantity, quality, and delivery date of the product. It may also include details about how production will be carried out, such as whether the buyer will provide seeds, fertilizers, or technical advice.