Base oils are classified into five grades by the API: Group I (less than 90% saturates, more than 0.03% sulfur), Group II (more than 90% saturates, less than 0.03% sulfur), Group III (similar to Group II but with a higher viscosity index), Group IV (fully synthetic oils), and Group V (all other base oils).