Dear student,
Dissolving the sugar in water is a physical change and it can be reversed easily by reversing the physical conditions. If we leave the solution in open for somedays the water will evaporate leaving behind the sugar which has same chemical composition or we can also boil the solution the water will vaporize and leave the sugar behind. The name of the process is distillation.
Regards.