As part of its ongoing efforts to promote every single Pokémon out there, The Pokémon Company has shared special content dedicated to Gloom:
Did you know? Gloom releases a foul fragrance from the pistil of its flower. When faced with danger, the stench worsens. If this Pokémon is feeling calm and secure, it does not release its usual stinky aroma. From its mouth Gloom drips honey that smells absolutely horrible. Apparently, it loves the horrid stench. It sniffs the noxious fumes and then drools even more of its honey.
Source: @Pokemon