Onions contain sulphuric acid. This is what causes your eyes to water when cutting them. The sulphuric acid causes a burning sensation in your eyes which leads your tear glands to secrete tears to calm the irritation.