Question: why yudhisthira went to heaven?
Answer: He took Yudhishthira to the underworld (hell) where he sees his wife and brothers. Yama explains to him why his siblings and wife were there in the hell and then takes back Yudhishthira to heaven. He assures him that his brothers and wife will join him in heaven after they have been freed from their sins.