When you put cloth in water why do they swell?

The cloth swells as the water enters and occupies the empty spaces amongst the cloth's fibres.