The process in which there is movement of a substance from an area of high concentration of that substance to an area of lower concentration, typically through or across a membrane. For example: Water vapor diffusing from a humid bathroom into the bathroom walls resulting in moisture in the wall assembly.