Liposomes function by encapsulating the chemotherapy drugs within their aqueous core or lipid bilayer. This encapsulation helps in reducing the systemic toxicity of the drugs and enhancing their concentration in the tumor microenvironment. The liposomes can be engineered to release their payload in response to specific triggers, such as pH changes or enzymatic activity in the tumor tissue.