Double salts are formed when two salts crystallize together in a stoichiometric ratio from their saturated solution. They dissociate into simple ions when dissolved in water. Coordination compounds retain their identity in both the solid and dissolved states. The metal acts as a Lewis acid and provides empty orbitals to accept electrons from ligands, which act as Lewis bases by donating electron pairs. Coordination compounds have defined geometries depending on the metal's hybridization and the ligand environment. Crystal field theory and valence bond theory are used to explain properties like color and magnetism.