Light behaves in two ways: like a particle and like a wave. The way a photoelectric cell works shows the corpuscular behaviour of light.