Is sugar a mixture or solution?

Pure sugar is a compound, which is a pure substance. If you dissolve sugar in water, you will have a homogeneous mixture, which is a solution.