The need for affiliation corresponds to the third level of needs in Abraham Maslow's hierarchy of needs.
Explanation:
The third level of needs in the pyramid of needs given by Abraham Maslow is the level of 'belongingness and love'. During a human's lifetime, there are stages that bring different seekings.
These have been put by Maslow in different levels based on what age do the seekings begin in and last for.