Dialysis can be used for people who have become sick and have lost the use of their kidneys for a short time, or for people who no longer have working kidneys. The purpose of the kidney is to keep a balance of water and minerals in the body. These minerals include sodium, potassium, chloride, calcium, phosphorous, magnesium and sulfate. The kidneys also take out hydrogen ions from the blood. Dialysis is able to remove these wastes from the body and help keep the minerals in balance.
How dialysis works change
Dialysis machines work by using diffusion and ultrafiltration. A very fine material, called a membrane, allows blood and fluid to flow through it. In the machine, the blood flows in one direction, and on the other side of the membrane, a special fluid, dialysate flows in the opposite direction, this process is known as osmosis. Dialysate is a fluid that has different chemicals in it, such as potassium and calcium. A doctor would decide what mixture of chemicals would be needed for each patient. The dialysate has bicarbonate in it to lower the higher acid levels that these patients often have. The blood and dialysate mix together. The waste products are removed from the blood and caught up in the fine membrane.
Dialysis was originally done in hospitals, and then in many countries moved to local clinics, as the number of patients increased. In 2023 more patients have a portable machine at home and have to manage the process themselves. 
A dialyser is part of a dialysis machine. The dialyser filters blood like a kidney. It is made of a clear hollow cylinder with two inlets and two outlets. One inlet and outlet is at the upper side and downside which are for blood entrance and exit before and after purification. The other inlet and outlet are beside through which a supporter liquid goes into the dialyser.
A dialyser has very thin fibres of cellulose. The fibres work as a semi-permeable membrane (SPM). There are about 10,000 of them. Impurities such as urea keratin leave through the SPM. Blood cells cannot go through because the blood cells are bigger than the impurities. The whole process of purification is supported by a liquid called dialysate. Dialysate is sent into the dialyser by the pump in the dialysis machine. The pure liquid goes in and the impure dialysate comes out. Dialysers are also called artificial kidneys.
- http://www.kidneyatlas.org/book5/adk5-01.ccc.QXD.pdf Atlas of Diseases of the Kidney, Volume 5, Principles of Dialysis: Diffusion, Convection, and Dialysis Machines
- Kelman, Brett (2023-07-07). "'It Was a Bloodbath': Rare Dialysis Complication Can Kill, and More Could Be Done To Stop It". KFF Health News. Retrieved 2023-07-10.