The story of Noah and the Flood is in the Torah because it has an eternal lesson to each and every individual, in every generation, and in every geographical location in the world.
What is the lesson?
The flood is called the "Waters of Raging Chaos," and it is called the "Waters of Comfort." Well, Which is it?
Both! For one transforms into the other.
Listen and learn how.