The hard shell of the reptile egg, also known as an amniotic egg, allows air in, but is impermeable to water.