Birds lay eggs that have much harder shells than reptile

What is most likely the main function of the hard shell?

A to feed the bird as it develops

B to provide camouflage from predators

C to keep the embryo warm until the bird hatches

D to protect and prevent the egg from drying out