The main goal of occupational safety is to ensure that employees are protected from workplace hazards.