Heat in the universe