The invention relates to an implantable device having function of kidney. The device has a blood inlet for connection to the renal artery of a living human body, a blood outlet for connection to the renal vein of the living human body and one collection chamber connected to urinary bladder to excrete out of body. The device uses positive and negative electron charge for the purification of blood in the device.