The most accurate response is: By detecting many types of radiation with both earth-based and space-based telescopes.
This emphasizes the use of the full electromagnetic spectrum, including visible light, infrared, ultraviolet, radio waves, and other types of radiation, to gather information about celestial bodies and phenomena.