Lane-departure warning alerts you that you’re about to leave your lane. If you’re drifting towards the lane markings, this can help you to keep your car positioned safely and prevent a collision.