Will solar panels provide electricity in the event of an outage?

No, not by themselves. Without a battery system and a “smart inverter,” most residential arrays do not provide power during outages. Battery backup can also provide stored energy at night or even during rainy and cloudy days.