Yes, solar panels operate based on light, not heat. Even on cloudy days, your panels can still generate electricity, albeit potentially at a reduced rate. Modern panels are designed to be efficient, even in less-than-optimal conditions.
Without batteries, your property would switch to using the National Gridβs electricity in the evening and through the night. Itβs more efficient β and cost-effective β to charge batteries using solar power in the daylight and then switch to using stored battery power after sundown.