Quasars are really the accretion disks around a supermassive black hole; during a galaxy’s earliest years, such an accretion disk can grow so massive that it outshines the rest of the galaxy altogether, and astronomers identify it as a quasar.