Proper protein folding is critical for cellular function, and misfolded proteins can lead to diseases such as cystic fibrosis and Alzheimer's disease. PDI ensures that proteins attain their native conformation by catalyzing the correct pairing of cysteine residues. It also has chaperone activity, preventing aggregation of unfolded proteins.