Biofuel is a hydrocarbon that has been derived from agricultural biomass, plant and animal waste or from metabolic by-products. Biofuel is mainly available in two types such as bioethenol and biodiesel, which are primarily used in automotive, marine and railway.