What is similar between birds and reptiles?

They are both a part of the same phylum Which is chordates. They are both vertebrates that lay eggs.