Stars in globular clusters form communities