When the dried apricot is added to water, it swells after some time since the water outside is hypotonic and endosmosis takes place. When it is keeps in the sugar solution, it shrinks after some time since the solution of sugar is hypertonic and it causes exosmosis.