The systematic grouping of stars and stellar objects into categories on the basis of physical, morphological, or evolutionary characteristics.