The Pain Elementals of Doom 64 are the resurrected carcasses of the Cacodemons from Doom 1 (or presumably those found in Ultimate Doom levels of PSX/Saturn at least), resurrected by the Mother Demon. The Pain Elemental appears in Doom 64 in its own unique variation.
A Pain Elemental on Doom 64's starting map.