Q.Hi. What is this plant called and should the plant inside be growing? What do I do about the yello?
Photo attached

Certified GKH Gardening Expert
It appears to be one of the many types of yucca! The yellowing can be normal, but it may mean that you need to repot it into a slightly larger container. The thing in the center is a flower. You can leave it until it fades, then cut it where it comes out of the plant.
This article will help you to pot up your yucca: https://www.gardeningknowhow.com/ornamental/foliage/yucca/yucca-repotting-tips.htm
This will help you to care for them in container: https://www.gardeningknowhow.com/ornamental/foliage/yucca/growing-yucca-indoors.htm