1 Spiral galaxies have gas clouds that can be compressed by density waves or shock waves from stellar explosions, leading to star formation.
“either a star blows up nearby creating a shock wave that literally shocks the gas cloud or there are other sort of waves that relate to the maintenance of the Spiral pattern and they're called spiral density waves”