a person’s social environment
milieu - environment
The formal word ‘milieu’ refers to the people or things that surround you and therefore influence the way you act and think, and the physical or social conditions in which something happens or develops. For many people, their milieu is what most shapes them as a person both socially and professionally, but it does not necessarily have to define you.
That author spent many years among Parisian intellectuals and his work reflects that cultural and social milieu.
Susan had to fight hard and overcome many obstacles to achieve success in what has long been considered a largely male milieu.
I did not wish to be shaped and restricted by my milieu of poverty, so I focused on education as a means of escape.