Dear student
Light energy is a form of solar energy which travels from space in form of electromagnetic radiations. Light is the flow of overall neutrally charged photons through space.
Electrical energy is carried through wires it cannot travel in space. It is the energy possessed by electron flow.
Regards