How are distilled water and salt water similar?

they are both liquids containing hydrogen and oxygen, and they are both not good to drink