The creature living in the Death Star’s garbage compactor is a dianoga. In Star Wars: Episode IV – A New Hope, Luke Skywalker, Han Solo, Chewbacca, and Princess Leia are trapped when the walls begin closing in. A long tentacle grabs Luke and pulls him beneath the filthy water, revealing that the compactor is inhabited rather than merely automated.
Dianogas are fictional, cephalopod-like scavengers commonly associated with sewage systems, refuse facilities, and other polluted watery environments. The creature’s most recognizable features are its single eye on a stalk, tentacles, and tooth-lined mouth. Its design helped turn a brief suspense sequence into one of the original film’s memorable creature encounters.
The question is sometimes confused by other Star Wars monsters. A rancor is the beast kept by Jabba the Hutt, a sarlacc lives in the Great Pit of Carkoon, and a wampa inhabits Hoth. None of those creatures is the compactor monster. Dianoga is also the name used for the species, not just a personal name for the individual seen in the film.