A gamma-ray burst (GRB) is an extremely energetic explosion that releases intense bursts of gamma-ray radiation, the highest-energy form of electromagnetic radiation. GRBs are thought to be associated with the collapse of massive stars or the merging of neutron stars.