How are galaxies formed?

Why do we see stars together in the galaxy, what is the science behind it?

If you live in a city like Delhi, you will hardly be able to see…