What is a Setting of a Book?

The setting of a book is just where it is taking place. If you write a book and the characters all lived in Denver, CO during the 19th century then this is the setting.