Why is the cabinet (equipment) shell grounded in the computer room?

Not only the cabinet equipment in the computer room is grounded, but also household appliances with metal casings need to be grounded. It's just that the grounding of electrical appliances is usually at the triangle of the power socket. In some computer rooms, a piece of equipment protective grounding will be directly added to the metal shell of the equipment to set equal potentials to prevent equipment leakage from causing safety hazards to personnel in the computer room and to protect the equipment.