It is a 'Corn Plant' (Dracaena_fragrans) west Africa.
Corn plants that receive natural light, have been in the same pot and the same location for many years, and get cooler temps at night will often
flower about this time of year and again in six months. It seems to be related to days and nights being of equal length to set buds. As long as you don't change anything, you can a expect your corn plant to bloom annually from now on.
The
flowers have a very sweet smell that is quite strong and some people find unpleasant. The
flowers are also very sticky and very messy once they start to die and dry up. It is best to cut off the entire
flower stem once it begins to fade.