From the Super Mario Wiki, the Mario encyclopedia
Possessed Bins are uncommon enemies found throughout The Last Resort in Luigi's Mansion 3. They are regular bins possessed by purple Spirit Balls. When Luigi gets close enough to one, it opens its lid to reveal glowing purple eyes. They attack by hopping around and lunging at Luigi, causing 20 HP of damage each time he is hit.
To defeat a Possessed Bin, Luigi must use the Suction Shot on it and pull to make it fall over, giving him time to use the Dark-Light Device on it to reveal the Spirit Balls. Once they are revealed, they circle around the bin and must all be vacuumed up by Luigi to return the Possessed Bin to normal, allowing him to open it or smash it for loot.
The first Possessed Bin in the game appears in Paranormal Productions, in the Studio Entrance, after Luigi has successfully captured one of Polterkitty's tails. More Possessed Bins appear later on, in areas such as the Twisted Suites and The Dance Hall.