Answer:
Photosynthetic bacteria are parasites within green plant cells while chemosynthetic bacteria are saprophytes on decaying food substances. Energy of sunlight is used in photosynthetic bacteria whereas in chemosynthetic bacteria energy is derived by the oxidation of inorganic substances.