Which came first, the chicken or the egg, has been a mystery for centuries. Recently, scientists have finally found the answer by studying the nest of a small meat-eating dinosaur 277 million years ago. Eggs came before chickens.