Advance Auto Parts Interview Question

What is the difference between template groups and device groups in Panorama?