Predicting and identifying potential hazards and taking precautions to avoid severe accidents is known as defensive driving.