Mind, Soul and Spirit

What is the difference between the soul and the spirit, And where does the mind come in?