Why are stories of prophets told in the Quran?

Each answer is quoted as it is from the commentary of the Quran, with the passage it comes from.