Molasses or black treacle is a viscous product resulting from refining sugarcane or sugar beets into sugar syrup.