"Hazard" was the Rules term for bunkers and water hazards until 2019; today they're called bunkers and penalty areas.

Golfers still talk about hazards to mean any feature that punishes a poor shot: water, sand, deep rough or trees. Under the current Rules, water hazards became penalty areas, which can also cover areas like dense bushes or ravines.