They contain photosynthetic pigment that help in the autotrophic nutrition.
They follow photo-autotrophic mode of nutrition as they make their own food using the sunlight and other photosynthetic apparatus.
Some algae utilize organic nitrogen or carbon sources and nutrients in soil or water to synthesize essential oils, fats and proteins via a heterotrophic mode of nutrition.
A few Algae species show the mixotrophic mode of nutrition, in which they utilize both organic and inorganic sources to fulfil their growth and nutritional needs.