Alchemical Symbolism and Visualizations in Buddhism
At one time alchemy was generally regarded as being a dead-end pseudo science which was obsessed with transmuting base metals into gold. The modern rational science of chemistry evolved out of the muddled thinking of the alchemists, which is of no further relevance.
However, a modern re-evaluation of alchemy has shown that much alchemical work was actually ritual intended primarily to bring about spiritual realisations in the mind of the alchemist, rather than changes in the states of matter, which were symbolic aids to visualisations:
'Carl Jungreexamined alchemical symbolism and theory and began to show the inner meaning of alchemical work as a spiritual path.
[...] The practice of Alchemy seemed to change the mind and spirit of the Alchemist.
[...] Organic and inorganic chemical substances, physical states, and molecular material processes as mere metaphors for spiritual entities, spiritual states and ultimately, transformations. In this sense, the literal meanings of 'Alchemical Formulas' were a blind, hiding their true spiritual philosophy, which being at odds with the Medieval Christian Church was a necessity that could have otherwise led them to the "stake and rack" of the Inquisition under charges of heresy. Thus, both the transmutation of common metals into gold and the universal panacea symbolized evolution from an imperfect, diseased, corruptible and ephemeral state towards a perfect, healthy, incorruptible and everlasting state; and the philosopher's stone then represented a mystic key that would make this evolution possible. Applied to the alchemist himself, the twin goal symbolized his evolution from ignorance to enlightenment, and the stone represented a hidden spiritual truth or power that would lead to that goal' 
So behind the facade of attempting transmuting physical substances, the alchemists were really transmuting mental qualia. Alchemical symbolism provides vivid and immediate analogies to 'external' operations in familiar artisanal processes such as brewing, smelting, churning, rendering, herbal extraction, distilling etc to bring about transmutations of 'internal' mental qualities.
Buddhist Alchemical Visualization
The visualized 'cauldron' or vessel of transformation is a skullcup, known as a kapala in Sanskrit. Impure substances symbolising mental afflictions are transmuted to pure nectar of enlightenment by the power of a fierce wind-blown fire, with the reaction being 'catalysed' by seed letters.
Urine, feces, brain, semen, blood and five meats are transmuted into nectar
"When engaging in the generation stage practices one starts with the dissolution of everything into emptiness by reciting the mantra. This is done in order to eliminate self-grasping. From within emptiness the syllable YAM in a crescent moon arises, symbolizing wind. Then the syllable RAM in a triangle arises above it, symbolizing fire. Then from the syllable KAM arises a tripod of skulls. The skull which is the cauldron sits on the tripod. It is white on the outside and red on the inside. It is vast. In the center one pours urine in the form of the syllable HUNG. On the east one puts feces in the form of the syllable OM. In the north one puts brain in the form of the syllable KAM. In the west one puts semen in the syllable ANG. In the south one puts blood in the form of the syllable TRAM. Then one puts fire in the form of HUNG. In the center of the five nectars one places human flesh in the form of the syllable HUNG. In the southeast corner one puts cow meat in the form of the syllable LAM. In the southwest one places dog meat in the form of the syllable MAM. In the northwest one places elephant meat in the form of the syllable HAM. In the northeast one puts horse meat in the form of the syllable TAM. The wind swirls around, generating fire out of the syllable RAM. This boils the substances in the skull cup, melting the five meats and nectars. As they boil, their color becomes orange red like the rays of the rising sun. The mandala of the moon is placed as a lid on the skull. On top of it are a white OM, a red AH, and a blue HUNG. Light rays radiate from the three syllables in the ten directions, reaching the Buddhas and bodhisattvas whose wisdom nectars are drawn back and dissolve into the vessels. The wisdom and samaya nectars become one and become white in color, cool in temperature, sweet in taste, and abundant in power. This becomes the collection of wealth and riches." 
The urine, excrement, brain, sperm and blood represent the five contaminated aggregates to be purified. They are form, feeling, perception, karmic impulses and consciousness. The five meats symbolise the five delusions, which are confusion , miserliness, attachment, jealousy and self-grasping.