There are three main types of galaxies:
1.spiral galaxies:which have flat, rotating disks with spiral arms
2.elliptical galaxies:which are oval-shaped and contain mostly older stars
3.irregular galaxies:which lack a defined shape and often appear chaotic.