Biogas is a type of biofuel that is naturally produced from the decomposition of organic waste. When organic matter, such as food scraps and animal waste, break down in an anaerobic environment (an environment absent of oxygen) they release a blend of gases, primarily methane and carbon dioxide.