How does a soft egg becomes hard?

you boil it in boiling water