Corpse flowers or stinking flowers, also called carrion flowers, are the flowers, which emit an odor that smells like rotting flesh. Corpse flowers attract majorly the beetles and scavenging flies as pollinators.
The flowers stink so that they can attract insects, as the plants are situated so far apart from each other and bloom so irregularly, due to which they attract as much insect attention as possible in order to make sure the process of pollination.
The corpse flower utilizes its smell to fascinate beetles and sweat bees looking for a prime position to lay their eggs. Thus, it meets the concept of adaptation.