The canonical account says that it was rain, alongside something a bit more mysterious:
“When Noah was 600 years old, on the seventeenth day of the second month, all the underground waters erupted from the earth, and the rain fell in mighty torrents from the sky. The rain continued to fall for forty days and forty nights.”