The Seliwanoff's test distinguishes between aldose and ketose sugars. It involves heating the sugar with resorcinol and hydrochloric acid. Ketoses are more rapidly dehydrated than aldoses under these conditions. The dehydrated ketose will react with resorcinol to produce a deep cherry red color, indicating a positive test. Aldoses may produce a faint pink color. Fructose and sucrose give a positive test since sucrose contains fructose. The test exploits the difference in reactivity between aldehyde and ketone functional groups.