Яой is a genre of Аниме focusing on highly idealized male x male relationships. It's usually written by women for women, as opposed to bara created by and for gay men. (The men in bara are much more... manly. ^^) Yuri features girl x girl relationships and can be targeted at either men или women.
Be careful with the terms- Яой technically boyxboy sex and yuri is girlxgirl sex. The right terms for romance would be shounen-ai and shoujo-ai respectively. Often, however, Яой and yuri are used as catch-all terms... which has been known to cause me some confusion. XD
(The picture is NaruSasu... a VERY Популярное Яой couple. :3)
Simple, English definition: Яой is Любовь between two guys; "gay guys," if Ты wish. Yuri is Любовь between two girls; "lesbians," if that's easier to remember.