Complex sentence: A peer group is both a social group and a primary group of people who, through homophily, share similarities such as age, background, and social status.
Split into simpler sentences: A peer group is both a social group and a primary group of people. Peer group may be defined as a group of people who, through homophily, share similarities such as age, background, and social status.