Spark Or Soul?

In that Episode "Autobot Spike," what were they transferring into the Transformer body, was it Spike's mind or was it his soul?
And if his soul is in the new body, does it then become a spark?
If he dies while in his new body, does his soul join the Matrix?
If a Tf got transferred into a human body and then dies for some reason, does its spark still join the Matrix?
And if his soul is in the new body, does it then become a spark?
If he dies while in his new body, does his soul join the Matrix?
If a Tf got transferred into a human body and then dies for some reason, does its spark still join the Matrix?