How many classes of hazardous materials are there?

A hazardous material will be placed into one of nine classes to explain the type of risks associated with the material.
DMV Writen Test