Cogeneration produces both electricity and heat, but how does it work? It is a beneficial solution for energy efficiency, the economy, and the environment.