According to science, the egg came first.
Eggs have been around for hundreds of millions of years before chickens evolved. The first amniotic eggs, which are eggs that can be laid on land and have a hard shell, appeared around 340 million years ago. Chickens, on the other hand, only evolved around 50 million years ago.
So, how did the first chicken come to be? It is likely that a non-chicken bird laid an egg that contained a mutation that made the offspring a chicken. This mutation may have been caused by a random change in the bird's DNA, or it may have been caused by a virus or other environmental factor.
Once the first chicken was born, it could then mate with other non-chicken birds and produce more chickens. Over time, the chicken population would have grown and spread, and eventually chickens would have become the dominant bird species in many parts of the world.
So, the next time someone asks you which came first, the chicken or the egg, you can confidently tell them that the egg came first.