The correct response for the phases that water goes through in the process of distillation to separate it from dissolved sugar is: from a liquid to a gas, and back to a liquid.
During distillation, the sugar solution is heated, causing the water to evaporate (turn from liquid to gas). The water vapor is then cooled and condensed back into liquid form, separating it from the dissolved sugar.