Is a vacuum cleaner the same as a black hole?

No. A vacuum cleaner works by creating low air pressure inside of itself, which suck in air. That moving air can then carry small objects with it. Things sucked into a vacuum cleaner go to a bag or chamber that is then thrown out or emptied in the trash.

A black hole is an object that has completely collapsed under the force of gravity. Objects near a black hole are not suck in; they fall in due to gravity, just like what makes things fall on Earth, only much stronger. Unlike with a vacuum cleaner, which can be emptied, nothing that enters a black hole can ever leave.