Autotrophs are said to be those organisms that are capable of synthesizing their own food with the help of solar energy(sun) from inorganic raw materials like carbon dioxide and water.
All the green plants and other photosynthetic organisms are referred as autotrophs.
There are mainly two types of autotrophs.
Photosynthetic autotrophs are group of organisms, that depends on sunlight as a source of energy.
For example Higher plants, cyanobacteria etc.
Chemosynthetic autotrophs are group of organisms, that depends on inorganic molecules as a source of energy.