The Lord told Noah to take 7 pairs, male and female, of clean animals onto the ark with him. Of unclean animals, he were to take 1 pair. “Also of the birds of the air seven pairs, the male and the female to keep their seed [their kind] alive over all the earth or land.” (Genesis 7:3)
The 5 extra pairs of clean animals were for food and sacrifice later
God told Noah in 7 days He was going to destroy every living thing on earth, except what was on the ark. Noah listened to everything God told him – he was 600 years old when the flood began.
Noah and his family went into the ark, the animals followed two by two, male+female
It rained for 40 days and 40 nights.
When Noah’s family and every single pair of every single animal, creature, bird, etc were safely on the ark, God closed the door behind them.
The water continued to rise, it covered the highest mountains. Every living thing that had “the breath and spirit of life died.” (Genesis 7:22) The only survivors were Noah, his family, and the animals on the ark.
The waters were mighty over the land for 150 days (5 months).