there are various types of galaxies: elliptical, spiral and lenticular galaxies, which can all be with or without bars. then there are irregular galaxies. all galaxies exist inside the universe. the observable universe contains more than 2 trillion (1012) galaxies and, overall, as many as an estimated stars (more stars than all the grains of sand on planet earth).