Energy from sunlight is radiant energy; if it is harnessed to move a turbine and generate electricity, then it has been converted to mechanical energy.Radiant energy is the energy of electromagnetic waves, which can travel through space.Examples include light, X-rays, gamma rays, and thermal radiation. Mechanical energy on the other hand is the energy possessed by an object - the sum of potential energy and kinetic energy.