How does a rock calcify?

Can you answer this question?