Energy generation in Purple Bacteria and Green Bacteria PPT