how do microorganisms make food for them self
Microorganisms like green algae contain chlorophyll and they can prepare their own food by the process of photosynthesis.
Bacteria and fungi are also microorganisms that cannot prepare their food and those who are saprophytes derive their food from dead and decaying organisms. Sometimes microorganisms become parasitic and depend upon other living organisms for food.