The enzyme phosphoserine phosphatase (EC 3.1.3.3) catalyzes the reactionO-phospho-L(or D)-serine + H2O L(or D)-serine + phosphate