The morphology of galaxies (spiral, elliptical, irregular) is strongly influenced by their merger history and environment.
Galaxies exhibit a wide range of shapes, from the majestic spirals like our Milky Way to the smooth, featureless ellipticals and chaotic irregulars. This morphology is not static but evolves. Spiral galaxies are typically found in less dense environments and tend to be actively forming stars, retaining significant amounts of gas. Elliptical galaxies, often found in dense galaxy clusters, are thought to be the result of multiple major mergers that strip away gas and disrupt delicate disk structures, leading to a largely older, redder stellar population. Irregular galaxies are often the result of tidal interactions or less ordered formation processes. The interaction with other galaxies and the surrounding intergalactic medium plays a crucial role in shaping a galaxy's destiny.