Ecology is the scientific study of interactions between organisms and their environments, focusing on energy transfer. There are three main types of feeding relationships: producer-consumer, predator-prey, and parasite-host. Producers, like plants, make their own food through photosynthesis. Consumers eat other organisms for energy and include both predators that hunt prey and animals that eat plants or other animals. A food chain shows what organisms eat in a linear feeding order starting with producers, while a food web depicts the complex and interconnected feeding relationships in an ecosystem.