This document investigates the properties of biogas as an alternative fuel for internal combustion engines. Cow dung, plantain peel, corn cobs, and food wastes were collected from Bichi, Nigeria to produce biogas through anaerobic digestion. Various blends of biogas and diesel were tested in a diesel engine, which performed almost as well as with pure diesel. A petrol engine operated fully on biogas, with lower carbon monoxide emissions than gasoline. Analysis found the biogas contained mostly methane, with some carbon dioxide and other gases. Biogas has potential to replace gasoline and diesel as a renewable fuel with zero greenhouse gas emissions.