Water is the substance that moves across a barrier by osmosis.