Waste products, excess fluid, and mineral ions are removed from the blood by passing it over a partially permeable dialysis membrane which allows the exchange of substances between the blood and dialysis fluid. The dialysis fluid contains the correct concentrations of ions, urea, water, and other substances found in the blood plasma. Excess substances diffuse across the membrane into the fluid.