What does the Bible Say About Dreams?

It speaks favorably about dreams and visions. The book is filled with them. John and his vision or dream brought Revelations. What about the Magi’s dream in relationship to Herod? Dreams are a language of the God.