What are the functions of the Carplay box?

What are the functions of the Carplay box?