Scientists have solved a long-standing mystery about methanogens, unique microorganisms that transform electricity and carbon dioxide into methane. The results could pave the way for microbial ‘factories’ that produce renewable biofuels and chemicals.