Brhaspati is a sage who was selected by the gods (devas) to be their guru, or spiritual teacher, in Hindu mythology.
Because Jupiter is the most important planet in Hindu astrology, and therefore the metaphorical "guru" among the planets, Brhaspati is one of the titles given to it.
You may also want to read more about Hinduism here.
Be sure to check out my writings on religion here.