Under the hood, CarPlay and Android Auto seem pretty similar. They're both "casted" interfaces that process and render a computing environment on a smartphone and then send that interface to the car display, basically using it as an external touchscreen monitor.
Full article