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.