what is the role of school in society