Ans. Yes, electrolysis of saltwater is dangerous. It produces chlorine gas, which is toxic.