YAOI IS ONLY FOR ANIME.
Anything other than anime boyXboy is called SLASH.
ME: *stabs you with a hamster that spontaneously poofed into my hand*
YOU: What the hell was that for!?!?!?!?!?!
ME: *whistling* what was what for?
In speech and writing, it's a slang term used to refer to stories that focus on homosexual relationships, usually between men. Yaoi tends to involve graphic sex, often with little or no plot. The female equivalent is yuri.
A related genre is shonen-ai, or "boys' love", which tends to involve less sex and more cuddling (and plot).
(at least, that's what you tell your parents... muahahaha...)
Mom & Dad: ...What's that?
You: Uhm... Young Academics On Ice...?
Mom & Dad: Oh, okay! Have fun, then :]