A biorefinery is an integrated facility that converts biomass into a spectrum of bio-based products like biofuels, biochemicals, and biomaterials. The concept is analogous to a petroleum refinery, which produces multiple fuels and chemicals from crude oil. In a biorefinery, the feedstock is renewable biomass, including agricultural residues, forestry residues, and dedicated energy crops.