The genetics
The episode is built around a DNA-rewriting machine, and its official full title is "Do Not Alter". The machine can reshape any organic being by rewriting its DNA, turning Lister into a chicken, a hamster and a tiny super-human, a robot with an organic brain into a man, and a curry into a monster. The premise draws on the popular idea of DNA as a code that defines what an organism is, and the story plays it entirely for comedy, raising light questions about identity and what it means to be human through Kryten's brief life as a person. The scientists who built the machine never appear; the three-headed corpse aboard their ship hints that their experiments went wrong. Real genetic modification works on cells and embryos and cannot transform a living adult into another species, still less convert machinery or cooked meat, so the episode is a farce on genetic engineering rather than a portrayal of it.
The story
The crew of Red Dwarf board a drifting spacecraft. Rimmer and Kryten find the remains of a mutated human with three heads, while Cat accidentally activates a machine that turns Lister into a chicken. Kryten works out that the ship's crew were researching DNA modification and that the machine can rewrite the DNA of anything organic. Lister is turned into a hamster before Cat repeats his steps and restores him, but Kryten, whose brain is partly organic, is transformed into a human. Back on Red Dwarf, Kryten is delighted at first, but finds he cannot do what he did as a mechanoid and soon wants to change back. As a test, Lister has the machine modify the meat in his vindaloo, which becomes an indestructible curry monster. Lister turns himself into a one-foot-tall cyborg "Man Plus" and kills the creature by exploiting its weakness for lager.