A banana plant with flower and fruit

I’d always thought that the large reddish purple mass hanging below these bananas was the flower. But I learned that these are bracts surrounding the flower, which is a male flower. Female flowers are the first to appear on the plant and these are the ones that turn into the fruit seen in this photo.