How does attitude affect Psychological and social function

In various ways. If you always look upon yourself as not able to answer the teachers' questions, this will affect your brain in a negative way. Conversely, a lack of social functions also impacts the psyche as social interaction with other people turns out to be rather complex. The brain has been proven to actually like difficult mental challenges, so to speak. You could also refer to a good book of the so-called Noetic Sciences, a very modern field of research.