Dear Student, Answer to your question is given below: There are mainly four types of galaxies present in the universe namely Elliptical Galaxy, Spiral Galaxy, Barred Spiral Galaxy and Irregular Galaxy.
Spiral galaxies are flattened and spiral in shape. Stars are scattered around the centre in random orbits. These galaxies are bright.
Barred spiral galaxy is very similar to a spiral with one important difference. The arms spiral out from a straight bar of stars instead of from the centre..
Elliptical galaxies have smooth, ellipsoidal shape. These galaxies are dim.
Irregular galaxies have no proper shape. They are structured in a random manner.