Books are usually used if you need a lot of information on a topic at once, or a lot of in-depth information.
However, please note that it takes awhile for a book to be written, published, and get on the shelf at the library, so you will not usually find the most current information on a topic in a book.