Photofermentation via purple nonsulfur producing bacteria has been explored as a method for the production of biofuel. The natural fermentation product of these bacteria, hydrogen gas, can be harnessed as a natural gas energy source. Photofermentation via algae instead of bacteria is used for bioethanol production, among other liquid fuel alternatives.