The whole egg laying process is literally just a way to delete all the process you made up to that point and gain the powers of a literal fucking newborn.
First you need to have 14 tails, then you wiggle yourself and lay an egg, which removes about 2 tails, then you wait 5-8 seconds and the egg hatches, what do you get from the egg? You get a surprise, the relatively big worm you were controlling is now an AI, and you get to play as the newborn, erasing all of the progress you had achieved in that level, and making you weaker than a ladybug.