Simply put, a galaxy refers to a group of solar systems, stars, dust, and gases in the universe. The universe has a wide range of distinct galaxy types, typically classified based on their shape. The main types of galaxies include irregular, barrel spiral, elliptical, and spiral galaxies.