These cells are encapsulated in a device that isolates the cells from the host but allows free flow of oxygen, nutrients, and other factors, so that the cells can respond to blood glucose and release hormones like insulin while being protected from the patient's immune system.