Collapsed objects in astrophysics