You don’t necessarily need a battery: solar panels can supply power directly during the day even without batteries. However, if you want power at night, backup during outages or full energy independence (off-grid or hybrid), a battery makes a big difference.