An organism that consumes both producers and other consumers is known as omnivore
Omnivorous animals, also known as omnivores, are animals that eat green plants as well as meats from other animals.
Omnivores are usually called secondary or tertiary consumers in the ecosystem.
More on omnivores can be found here: https://brainly.com/question/3479250?referrer=searchResults