It caramelizes the sugars in the beets, giving them a sweeter and more concentrated flavor.