The Cosmic Connection: How Astronomical Events Impact Life on Earth