If there are two solids and one is soluble and the other is not, they can be separated by dissolving the soluble solid. For example, in a mixture of salt and sand, sand can be obtained by dissolving the salt in water and then filtering the solution.
Sublimation can also be used to separate a solid that sublimes from the one that does not. For example, a mixture of ammonium chloride and sodium chloride can be separated by sublimation because ammonium chloride can sublime.