Answer:
Legal use of hazard lights: if the car is in an accident or other wise disabled (unmoving) and located near a road (ie, the shoulder)
Illegal use of hazard lights: In heavy rain or any other time the vehicle is in actual motion.
Hazard lights are used to indicate and UNMOVING vehicle.