A galaxy is like a collection of stars that all interact with each other according to forces like gravity and stuff.
It is not to be confused with the chocolate bar of the same name.