Pete,
That's a pretty big question -- "how sailboats work"? Can you narrow that down a little? I'm not sure this web site can handle an answer to the "how."