Biofuels are classified into generations based on the feedstock used and the technology employed in their production.