Anaerobic digesters produce fertiliser and biogas, a mixture of methane and carbon dioxide, which is burnt to generate renewable electricity.