Put dried raisins and apricots in pure water and leave them for some time. Then place them into a concentrated Solution of sugar or salt. Each one of them gains water and swells when placed in pure water due to endosmosis. When such swollen raisins/ apricots are placed in the concentrated Solution, each of them loses, water, and consequently shrinks again (due to exosmosis).