write about how religion has an impact on mental health using the functioanlism theory. write about how religion has an impact on mental health using the functioanlism theory