Is it true that electrical energy is converted to magnetic field energy in the secondary coil and magnetic field energy converted to electrical energy at the primary coil?

yes it is the primary coil being somthing such as a tubine, and the secondary the generator