Oppositely charged ions interact to form ionic compounds.
water helps in separation of oppositely charged ions from the ionic compound give reason