Is there a scientific explanation for the feeling of separation between the soul and the body?

One night, I was asleep and in a state between consciousness and unconsciousness. I can't be sure if I was sleeping or awake, but there were two men. One of them held both my hands with one hand and placed them above my head, while the second man tried to remove my pants. I actually felt that.

Note: My room was locked, and no one should be able to enter.

The two men lifted me up to the ceiling of my room, but my real body was still lying on the bed below. My spirit had ascended to the ceiling, and one of the men was choking me. Just as I was about to die from suffocation, he threw me back onto my body, and I returned to it.

I don't know what happened to me, but does anyone have any scientific knowledge about this?

And if someone were present in the room, would they have seen me hanging from the ceiling? Because I truly felt as though I was on the ceiling; it didn’t feel like a dream.