“Mordecai saw in this dream what God had determined to do. After he awoke he had it on his mind. He sought all day to understand it in every detail.”
Part of every dream was the idea that God was communicating with a holy person through a dream. Interpreting dreams was a big deal. That is what made Joseph in Genesis, chapters 40-41, become an important person in Egypt.