The process by which a liquid, or a mixture of gases and liquids, is drawn into and tends to fill permeable pores in a porous solid material; usually accompanied by a physical change, chemical change, or both.