simplified schematic of how dialisys works:
arterial blood from the patient enters the dialyser in many small tubes.
in the dialyser the blood is in many fine tubes and surrounded by a dialysate liquid that will ‘draw’ the impurities/waste chemicals from the blood via a semipermeable membrane and a pressure gradient between the blood and dialysate.
the ‘cleaned’ blood is returned to the venous system.
the dialysate is refreshed throughout.