Since Edwin Hubble proposed his galaxy classification scheme in 1926, numerous studies have investigated the physical mechanisms responsible for the shapes of spiral and elliptical galaxies. Because the processes are complex, however, studies frequently rely on computer simulations as their main tool. The discs of galaxies are believed to form through the collapse of gas which acquires its initial spin in the early Universe. During their subsequent evolution, galaxies undergo a wide range of phenomena, from the accretion of matter—or its outflow—to mergers with other galaxies, all of which modify the disk’s spin and angular momentum.