Pediatric patients at a California hospital can ride into the operating room in style in a miniature car as a way to help calm their fears.

>> Read more trending news

The Doctors Medical Center in Modesto, California, purchased a small black Mercedes and a staff member later donated a pink Volkswagen Beetle specifically designed for children aged 2 to 7, CBS News reported.

"When the children find out they can go into the operating room riding in a cool little car, they light up and in most cases, their fears melt away," nurse Kimberly Martinez, who came up with the idea, told CBS News.

The cars have stereos and functioning lights and can be driven by a child or an adult using a remote control.