Compact Objects in the Universe