How to use "fainted" in a sentence

Sentences

I must have fainted because I found myself on the floor of the laboratory, staring at the closed door