An environment has two parts.
Producers ~ Organisms that use sunlight directly to make food. They do this by using a process called photosynthesis. Most producers are plants.
Consumers ~ Organisms that eat producers or other organisms for energy are called consumers. They must eat producers or other animals to obtain energy.
Herbivore ~ Consumer that eats plants.
Carnivore ~ Consumer that eats animals.
Omnivores ~ Eat both plants and animals.
Scavengers ~ Animals that feed on the bodies of dead animals.
Decomposers ~ Organisms that get energy by breaking down the remains of dead organisms.