The relationship of sociology and psychology