A social group is formed when two or more people are aware of each other's presence. There are different types of social groups including transitory groups, recurrent groups, formal groups, and informal groups. Groups can also be primary groups, which involve strong emotional attachment between members, or secondary groups, which focus more on the purpose of the group than interpersonal relationships.