To avoid a collision with a hazard on the roadway:
Swerving out of the way of a hazard is sometimes safer than trying to stop before reaching the hazard. You can usually turn away from something more quickly than you can come to a complete stop.