What is Herkogamy and Heterogamy? explain it

What is Herkogamy and Heterogamy? explain it.

Heterogamy is a condition in which both male and female flowers are present in one inflorescence. In botany, a plant is said to be heterogamous when it carries at least two different types of flowers in regards to their reproductive structures, for example male and female flowers or bisexual and female flowers. Stamens and carpels are not regularly present in each flower or floret.

Herkogamy is a condition of a flower favouring cross-pollination. The pollen of the flower is unable to reach the stigma of the same flower. Example: The Pansy flower has a hood that covers the stigma and acts as a mechanical barrier.