A solar cell transforms energy from one form into another form. What are these two forms of energy?

Solar Cell as the name suggests it has to deal with sun or more specifically sun’s energy or solar energy. Cell means any device which gives electricity.

So a solar cell will convert solar energy into electrical energy.