Most people mix up the difference between Spirit and Soul .
Ge:2:7: And the LORD God formed man of the dust of the ground, and breathed into his nostrils the breath of life; and man became a living soul.
Here three things are created
Dust of the ground = Body
Breath of life = Spirit (also ghost) not Holy Spirit
a living soul = Soul
We as humans are Soul beings, live in a body and the spirit keeps the body alive.
M't:10:28: And fear not them which kill the body, but are not able to kill the soul: but rather fear him which is able to destroy both soul and body in geena hell fire.