A lot goes into making an egg - and it's all intended to keep the developing chick safe until it's ready to hatch.