The solar panels are made of solar cells. A cell is a small disk of a semiconductor like silicon. They are attached by wire to a circuit. As light strikes the semiconductor, light is converted into electricity that flows through the circuit. As soon as the light is removed, the solar cell stops producing power.