Heating biomass with limited oxygen produces a carbon-rich material that may retain carbon after use.