PDI catalyzes the oxidation, reduction, and isomerization of disulfide bonds. It has two active sites containing the CGHC motif, which are essential for its catalytic activity. The mechanism involves the formation of a mixed disulfide intermediate between PDI and the substrate protein, followed by a series of thiol-disulfide exchange reactions that lead to the correct disulfide bond formation.