There are two ways to supervise a Mac:
Computers with macOS 10.15 or earlier can be supervised with Automated Device Enrollment. For more information, see Enrolling Devices Using Automated Device Enrollment.
Computers with macOS 11 or later are supervised by default regardless of enrollment method.