How are subsystems used and can someone give me an example

I understand that subsystems are used to focus on one part of the robot, but I don’t understand how to implement them into the file and use them properly.

I would greatly appreciate if someone could provide an example.

And it’s not good form to post two separate topics for related items.

Solved, sorry I did not originally find in the documentation