It is called audit class. You can attend this type of class without getting any type of benefits such as credit, grade, certificate, attendance, etc. However, you still need to pay for the courses. You can attend these types of classes without enrolling.