Classes in object-oriented PHP combine variables and functions into groups called classes. Objects are instances of classes that use the class. Some advantages of using object-oriented PHP include grouping code, increased clarity, inheritance of classes, and automatic initialization of functions through constructors and destructors. A class syntax example is provided, as is an example class for a car that has a type property and getType method. Database connection using a class is also demonstrated.