Glucose is an aldohexose, fructose a ketohexose, and ribose an aldopentose