Galaxies are conglomerations of millions to trillions of stars, gas, dust, stellar remnants, and dark matter. For more information, see:
https://science.nasa.gov/astrophysics/focus-areas/what-are-galaxies
https://www.nasa.gov/subject/6894/galaxies/
For more information on galaxy classification, see: