Why does slicing an onion make you cry?

I was just dicing an onion for something I am making for dinner tonight.. and like always, it made me 'cry.' This always happens to me but I've never known why this happens. Is it something in the onion that does it?

Also, do you have any tips to help prevent this when cutting an onion?
9 answers 9