The hazard warning lights should always be used when you stop on or near a roadway in an emergency.

The hazard warning lights warn other drivers that your vehicle is a traffic hazard and that they must take extreme caution when near it.

Depress the hazard warning flasher and all the turn signals will flash. The hazard warning indicator lights in the instrument cluster flash simultaneously.
NOTE
Horn
HomeLink Wireless Control System (Some models)Mazda 6 Owners Manual: Smart City Brake Support (SCBS)
The Smart City Brake Support (SCBS) system alerts the driver of a possible collision
using an indication in the display and a warning sound when the Forward Sensing
Camera (FSC) detects a vehicle ahead and determines that a collision with a vehicle
ahead is unavoidable while the vehicle is bei ...
Mazda 6 Owners Manual: Generator removal/installation
Warning
When the battery cables are connected, touching the vehicle body with
generator terminal B will generate sparks. This can cause personal injury, fire,
and damage to the electrical components. Always disconnect the battery negative
cables before performing the following operation.
...