Amniote
In fish and amphibians there is only one inner membrane, also called an embryonic membrane. In amniotes the inner anatomy of the egg has evolved further and new structures have developed to take care of the gas exchanges between the embryo and the atmosphere, as well as dealing with the waste problems. To grow a thicker and tougher shell required new ways to supply the embryo with oxygen, as diffusion alone was not enough.