Why is chondrichtyes in class?

Chondrichthyes are divided into two subclasses, these are elasmobranchii, and holocephali. These are both marine species and have skeletons made out of cartilage.Ê