Question: how to play music from iphone xr to car?
Answer: Set up CarPlay in a compatible vehicle. ... 
If your car has Bluetooth, you can pair your iPhone to your car.
If your car has a USB port, you can use a Lightning cable to connect your iPhone to your vehicle.