Structure difference an aldehyde and a ketone
First, let’s revisit the difference between an aldehyde and a ketone:

If the carbonyl group of a sugar is an aldehyde, the sugar is called an aldose. If the carbonyl group of a sugar is a ketone, the sugar is called a ketose.