How to use CarPlay with your iPhone
Available on select cars and stereos, CarPlay is a smarter and safer way to use your iPhone in the car.
What CarPlay does
CarPlay takes the things that you want to do with your iPhone while driving and puts them on your car's built-in display. When you connect your iPhone to CarPlay, you can get turn-by-turn directions, make calls, send and receive messages, listen to music, and more. CarPlay uses the contacts on your iPhone to help you make calls, send texts, and find destinations.
CarPlay uses Siri Voice Control, so you can ask for what you want while you're driving — allowing you to stay focused on the road. CarPlay even works with the built-in controls in your car — like a touchscreen, knob, or button.

How to use CarPlay with your iPhone - Apple Support
https://support.apple.com/en-us/HT205634