To dream of studying history represents reexamining your past. You may be trying to gain insight into past events. Spending time remembering your past. Processing negative events from the past to learn and grow. Thinking about how people will remember you for your past achievements.
Example: A young man dreamed of being in an ancient history class in high school. In waking life he was doing a lot of therapy to process negative events from his past.