text: The quality of molasses depends on the maturity of the sugar cane or sugar beet , the amount of sugar extracted , and the method of extraction .
simplified: The quality of the molasses depends on how the sugar is refined .