Monosaccharides are classified by the number of carbon atoms they contain (triose, tetrose, pentose, hexose and heptose) and by the active group, which is either an aldehyde or a ketone. These are then combined, e.g. aldohexoses, ketotrioses.
Further, each carbon atom that supports a hydroxyl group (except for the first and last) is chiral, allowing a number of isomeric carbohydrates with the same basic structure. For instance, galactose is an aldohexose, but has different properties from glucose because the atoms are arranged differently.