Biogasoline or biopetrol (British English) is a type of gasoline produced from biomass such as algae. Like traditionally produced gasoline, it is made up of hydrocarbons with 6 (hexane) to 12 (dodecane) carbon atoms per molecule and can be used in internal-combustion engines.