Compact objects are dense astronomical entities with strong gravitational fields, typically formed from the remnants of massive stars after they have exhausted their nuclear fuel. These objects include white dwarfs, neutron stars, and black holes, each characterized by their unique physical properties and the extreme conditions present within and around them.