CCC 1219 The Church has seen in Noah’s ark a prefiguring of salvation by Baptism, for by it “a few, that is, eight persons, were saved through water”:1
The waters of the great flood
you made a sign of the waters of Baptism,
that make an end of sin and a new beginning of goodness.2

1 1 Pet 3:20.
2 Roman Missal, Easter Vigil 42: Blessing of Water.