Complex sentence: If the sugar contains a ketone group, it is a ketose and if it contains an aldehyde group, it is an aldose.
Split into simpler sentences: If the sugar contains a ketone group, it is a ketose. If a sugar contains an aldehyde group, it is an aldose.