Do Solar Panels Work During a Power Outage?

Having a solar energy system connected to the power grid