The warmth generates chemical reactions and these in turn produce electricity and magnetism.
(The warmth; generates; chemical reactions and these in turn produce electricity and magnetism) (these; produce; electricity and magnetism)
The warmth these
generates produce
chemical reactions and these in turn produce electricity and magnetism
electricity and magnetism