Plants obtain nutrition through photosynthesis, using water, carbon dioxide, and minerals from the soil to produce carbohydrates. Leaves contain chlorophyll which helps capture sunlight during photosynthesis. Carbohydrates are used to synthesize other components like proteins and fats. Some plants lack chlorophyll and rely on heterotrophic nutrition like parasitism, trapping insects, or decomposing organic matter. Farmers replenish soil nutrients used by plants through fertilizers and manure.