Toyota introduced at the North American International Auto Show in Detroit a new app that works with the Oculus Rift Virtual Reality headset to teach teenagers about the dangers of "distracted driving."

The app, called TeenDrive365, puts users in simulations and challenges them to drive safely while dealing with virtual text messages, traffic noise, radio and other forms of distraction, according to The Guardian.

The driver is confronted by all of these obstacles, which include passengers and buildings, while sitting in a stationary Toyota vehicle, which the Japanese automaker used to demonstrate the app at the auto show, TechCrunch reported.

The virtual world also reflects the use of the steering wheel and gas and brake pedals, and stereo headphones are included to provide realistic noises like honking, sirens and people talking in the car.

Toyota is using the app for its TeenDrive365 campaign, which started in late 2013, to help new drivers take control when these distractions present themselves and avoid accidents whenever they can.

"Oculus Rift provides a virtual reality driving experience that mirrors real life behind the wheel, giving us a powerful, one-of-a-kind way to show parents and teens how everyday distractions can affect their ability to drive safely," said Marjorie Schussel, corporate marketing director at Toyota, The Guardian reported.

Oculus VR, which was bought by Facebook for $2 billion last year, plans on making its headset available to computer users by the end of the year.

In the meantime, young drivers across the U.S. will soon get their chance to test their skills with TeenDrive365, as Verizon plans to take the app on tour to automotive shows around the country this year.