Solar panels can still generate power on cloudy days, although at reduced capacity. At night, your home draws electricity from the grid.