Biofuels are typically grouped based on their fuel source. First-generation biofuels are produced directly from food crops, second-generation biofuels use non-food-based biomass sources such as crop waste, and third-generation biofuels use crops that are specifically grown and designed for the creation of biofuels such as algae and bacteria.