The dialysis tubing acts as a representation of the cell membrane, which allows smaller molecules to pass through while blocking larger molecules from passing.
The cell membrane allows diffusion to occur, so the molecules in the beaker, which are in an area of higher concentration can move into the tubing, which have a lower concentration.