Magnetic energy gets converted into electrical energy in electromagnets.
Hence, the above statement is false.
energy locked in the biomass gets converted into electrical energy for generating electricity.