Chapter 7 talks about what God told Noah to do in preperation for the flood. Noah had already built the ark, and so God told him to get on to it. God had also commanded that Noah put animals in the ark as well.
"Together with his sons, his wife, and his sons' wives, Noah went into the ark becayse of the waters of the flood" (Gn 7:7).
"Of the clean animals and th unclean, of the birds, and of everything that crawls on the ground, two by two, male and female came to Noah into the ark, just as God commanded him" (Gn 7:8-9).
"For forty days and forty nights heavy rain poured down on the earth" (Gn 7:12).