We start out with our service by adding a new service class file.
In Craft, a service is defined as the class file where you handle “business logic”. The service classes are attached to the module class as a Yii component. In a refined plugin or module, a service class is how your module or other code can interact with the functionality of the module.
Think about the service class as the programmatic entry point to do something in your module. You want to add CP nav items, you do access a method in the service class to do that. Yes, we do need to register the events in the init() method still but this is a special case.

I am the creator of CraftQuest, a web developer, and former software team manager. I spend most of my time improving CraftQuest with code and courses. When I'm not in front of the computer, I spend my time with my family, and running on the roads and trails of Austin, TX.