Plants are photoautotrophs that use sunlight, water and carbon dioxide to produce their own food through photosynthesis. They also obtain essential nutrients like nitrogen and phosphorus from the soil with the help of root structures and symbiotic relationships with bacteria, fungi and other organisms. Certain plants supplement their nutrition by trapping and digesting small animals and insects to access nutrients that are limited in the soil where they grow.