Cotton fibre can form bonding with water molecules. More over there are air spaces in between the fibres. when water is thrown on cotton fibre, it get attached with the fibre and goes into free space in between the fibres. In this way water is absorbed. Similarly air holes in cotton clothes trap the body heat as air is bad conductor of heat, cotton cloth also works as bad conductor of heat.