The XIAP gene provides instructions for making a protein that is found in many types of cells, including immune cells. It helps protect these cells from self-destructing (undergoing apoptosis) by blocking (inhibiting) the action of certain enzymes called caspases, which are necessary for apoptosis.