What is the difference between ISO 9001 and ISO 9002?

What is the difference between ISO 9001 and ISO 9002?