Ideally, you design your application to be across more than one AZ that way if one AZ goes down you have another.
When designing an application you try to have redundancy between the three AZs. That way if AZ1 goes down due to a power failure, AZ2 will be alive and will not be affected and in turn, your applications and their underlying data are not affected.