A lane departure warning (LDW) system is a form of electronic driver assistance that warns the driver when their car begins to stray outside of its lane.