The secondary side of a transformer is grounded to protect people and equipment from electrical shock. A ground fault on the secondary side can cause current to flow through the human body, which can be deadly. Grounding also helps to protect equipment from damage in the event of a fault.