Does MapKit show location of other devices?

Hi. I am new to teaching Swift coding to students and my students have an idea for a project. The project involves mapping the location of another device/vehicle. I assume this would require MapKit. Does anyone know if Mapkit can show and track location of another device? Also wondering if anyone is willing to assist my students with developing their project?