This is an adapter for the lid of a Jägermeister Ice Cube Box, which is being used as a trash can for organic waste.
The problem was that the lid was only loosely resting on top of the bucket. With this adapter, the bucket can now be securely and easily closed with the lid, which also can't fall off anymore.