Asubha bhāvanā, the meditation on foulness, considers the body’s parts and the stages of a corpse’s decay. It is prescribed for those of greedy temperament to loosen attachment to the body. Buddhaghosa stresses that it should lead to calm and dispassion, not aversion.
Asubha
Contemplation of the unattractive: meditation on the parts of the body or on a corpse, as an antidote to lust.
Also: Asubha, foulness