The organism that depends on dead and decaying organic matter is called a saprophyte. Saprophytes are a type of decomposer that obtain their nutrients and energy by breaking down dead plant or animal material. They play a vital role in the ecosystem by recycling nutrients and returning them to the environment for other organisms to use.
Example: Moulds, Mushroom etc.
Autotrophs, on the other hand, are organisms that can produce their own food using inorganic substances and an external energy source, such as sunlight. They convert carbon dioxide and water into organic compounds through the process of photosynthesis (in plants) or chemosynthesis (in some bacteria). Autotrophs do not rely on dead organic matter for their nutrition.
Carnivores are organisms that primarily consume the flesh of other animals. They obtain their energy and nutrients by hunting and feeding on other living organisms, rather than on dead organic matter.
Herbivores are organisms that primarily consume plant material. They obtain their energy and nutrients by feeding on plants or plant parts. Herbivores generally do not depend directly on dead and decaying organic matter as their main source of nutrition.