most compact stars are at the end of their stellar evolution. they are called stellar remnants: the form of the remnant depends mainly on the mass of the star when it formed. these objects are small for their mass. astronomic objects with an unknown nature are often called "compact star", when evidence suggests that they are very massive and that they have a small radius. a compact star which is not a black hole is sometimes called a degenerate star.