Gamma-ray astronomy is a subfield of astronomy where scientists observe and study celestial objects and phenomena in outer space which emit cosmic electromagnetic radiation in the form of gamma rays, i.e. photons with the highest energies (above 100 keV) at the very shortest wavelengths. X-ray astronomy uses the next lower energy range, X-ray radiation, with energy below 100 keV.
In most cases, gamma rays from solar flares and Earth's atmosphere fall in the MeV range, but it's now known that solar flares can also produce gamma rays in the GeV range, contrary to previous beliefs. Much of the detected gamma radiation stems from collisions between hydrogen gas and cosmic rays within our galaxy. These gamma rays, originating from diverse mechanisms such as electron-positron annihilation, the inverse Compton effect and in some cases gamma decay, occur in regions of extreme temperature, density, and magnetic fields, reflecting violent astrophysical processes like the decay of neutral pions. They provide insights into extreme events like supernovae, hypernovae, and the behavior of matter in environments such as pulsars and blazars. A huge number of gamma ray emitting high-energy systems like black holes, stellar coronas, neutron stars, white dwarf stars, remnants of supernova, clusters of galaxies, including the Crab Nebula and the Vela Pulsar (the most powerful source so far), have been identified, alongside an overall diffuse gamma-ray background along the plane of the Milky Way galaxy. Cosmic radiation with the highest energy triggers electron-photon cascades in the atmosphere, while lower-energy gamma rays are only detectable above it. Gamma-ray bursts, like GRB 190114C, are transient phenomena challenging our understanding of high-energy astrophysical processes, ranging from microseconds to several hundred seconds.