
The first jets were noticed in galaxy M87 in 1918, but their nature was not understood for a long time. In the 1970s, with the development of radio astronomy, it became clear that they are associated with black holes.
Around a black hole, a disk of gas (accretion disk) rotates. Due to strong magnetic fields and rotation, some of this gas does not fall into the hole but is ejected outward along the rotation axis, like spinning pizza dough — it flies apart.