A flower is a part of a plant that has petals