Sociology and psychology are social sciences.
Psychology is the study of a person's behavior.
So social psychology studies the behavior of an individual in a society or the individual in terms of his or her group life, group norms, values, goals, etc.
Sociology studies society.
It studies the interrelationships between different groups of the society, the changes taking place in the society etc.
Psychology studies the individual.
Sociology is the study of a society or a group.
Thus, despite the differences between the two sciences, they are also interdependent.
These two social sciences exchange information with each other.
Sociology derives information from psychology in the study of person, personality, etc.
While psychology considers the group to understand the behavior of the individual.
The information about this group comes from sociology.
In addition, with the help of these two social sciences, they study the attitudes, opinions, mobs, etc. of individuals without any distinction.