What is the role of mission class in navigator module?

Can anyone tell me what is the role of mission class in navigator module? I went through the source code in navigator module and I understood that loiter, rtl etc are for the various flight modes. I believe the mission class is for MISSION status. Can anyone tell me further what exactly is the mission class doing, when it is activated ?

The mission class is for waypoint missions. Does that answer your question? Otherwise maybe share a link to the exact source file on GitHub that you’re confused about.