It means to become unconscious. It can be used for fainting, but not only fainting. When someone passes out they are unconscious.
"Why did he pass out? Oh, he got really drunk.
He or she was "passed out drunk" is an expression that refers to someone getting so drunk that they become unconscious.
"I started to fell very dizzy."
Someone might ask: "Did you pass out?"