How does Vitamin D affect mood and mental health?

How does Vitamin D affect mood and mental health?