Social psychology is the correct answer.
The social part refers to your definition - how we behave around other people, when we are part of a society. Psychology has to do with our thoughts, feelings, and behavior, and social psychology deals with how those change based on who we are around.