Recovery a possibility in Career mode to regain funds. It is only possible to recover craft landed or splashed on Kerbin. Depending on the distance to the Kerbal Space Center a part of the costs to buy the recovered parts including the resources is returned.
A craft or Kerbal can be recovered from the Tracking Station and directly when controlling it. Other parts or Kerbals which aren't attached to it anymore aren't automatically recovered with it.