Autotrophs: Those organisms which were dependent on them self for their food and other requirements are called Autotrophs.
Example: All Green plants.
Heterotrophs: Those organisms which were dependent on other organisms for food and other requirements are called Heterotrophs.
Example: All Animals.
Decomposers: Those organisms which help to clean the environment by decomposing the waste (animal waste,dead bodies) are called Decomposers.
Example: Bacteria, Fungi.