Both are celestial phenomena caused by charged particles from the sun interacting with the Earth's magnetic field and atmosphere.