Neither. First came the egg and then the chicks. This happened as a result of a long period of evolution. Birds formed from reptiles according to the theory of evolution by Charles Darwin. With struggle and nature's selection, certain reptiles managed to develop beaks and feathers and became birds. thus as a matter of evolution, a certain species must have laid eggs from which chicks originated and this process became continuous in the bird's community.