The function of mental processes is to mediate between the needs of the organism and the demands of the environment.
There is no such thing as society: there are individual men and women, and there are families.