Solar panels still generate electricity on cloudy days, although their output will be reduced compared to sunny days.