The science behind moisture-wicking fabrics involves a combination of fabric structure and chemical treatment. The fabric is designed with a high surface area and capillary action, which draws moisture away from the skin to the outer layer where it can evaporate. Some fabrics are also chemically treated to enhance their moisture-wicking properties.