How does the Dewey Decimal System Work?

The Dewey Decimal System is used in libraries to classify the books by order of numbers. Each book is assigned a 3 digit number followed by a decimal point with other numbers. The books are divided into sub categories.