Smart Safety: How Collision Avoidance Systems Prevent Crashes