The position of the ovary varies in different flowers. Some flowers have a superior ovary when the base of the ovary located above where the sepals, petals, and stamens are attached. Example - tulips.
In case of inferior flower, ovary lies below where the sepals, petals, and stamens are attached. Example: Daffodils.