The Spirit of Man

What is the spirit of man? How is it a part of our lives? And what is its purpose?