Look at an ostrich closely some time they give off a lot of dinosaur vibes because of this. And all dinosaurs used to lay eggs like these ostriches and chickens. In fact, even before the birds evolved, dinosaurs used to lay eggs. Among animals, the art of laying eggs is ancient. 375 million years ago, when this animal named Tiktaalik Roseae, came out of the water and started living on land, it laid eggs too. But the eggs laid by it did not look like the chicken eggs today.
You need to imagine the eggs laid by fish. They do not have an outer shell. This animal must have laid some similar eggs. So if we talk about chicken eggs and such, which have a hard outer membrane, a shell, their evolution took place around 300 million years ago. And if we compare these eggs with a chicken, then the evolution of chicken took place only 3,500 years ago.
In Southeast Asia, people started farming rice and millet. A large quantity of grains were grown, which attracted a wild animal living in the nearby jungle.