First, books are divided between fiction and non-fiction books. Why fiction books exist and even frequently top on the best seller books list? Because it satisfies our conscious and mostly our unconscious needs.
Second, in the non-fiction genre, there is more division: theoretical book vs. practical book. Both have their value.
Third, the theoretical book genre is mostly divided into three categories: history, science, and philosophy.