Kidney dialysis

Can anyone please tell me about kidney dialysis such as why some people need dialysis, how dialysis works and what the long-term prospects are for people who are on dialysis. Thanks a lot!!!