An interesting article about the cosmic dangers to life that many may not be aware of:

More and more, it seems that the existence and persistence of life on Earth is the result of sheer luck. According to a new analysis of the history of the Milky Way, the best time and place for the emergence of life isn’t here, or now, but over 6 billion years ago on the galaxy’s outskirts.

That specific location in space and time would have afforded a habitable world the best protection against the gamma-ray bursts and supernovae that blasted space with deadly radiation.

As of about 4 billion years ago, the central regions of the galaxy (which include the Solar System) became safer than the outskirts – safe enough for life to emerge, if not quite as safe as the outskirts had been.

Read more at https://www.sciencealert.com/when-was-the-best-time-and-place-to-live-in-the-milky-way-not-where-we-are-apparently