Filtration is good for separating an insoluble solid from a liquid. (An insoluble substance is one that does not dissolve).
Sand, for example, can be separated from a mixture of sand and water using filtration. That's because sand does not dissolve in water.