In a photocell when light strikes a semiconductor material , the semiconductor causes the electrons to flow which creates electricity. Solar power generating systems uses this concept of converting light energy into electrical energy. Thus a photocell converts light energy into electrical energy.