A Vacuum is created when you place the suction cup on the window, the high-pressure on the outside of the suction cup pushes the cup towards the low pressure vacuum thus keeping it stuck to the window.
Same thing goes for your vacuum cleaner, it does not suck things it the high pressure outside pushes it into the machine.
Same thing goes for your vacuum cleaner, it does not suck things it the high pressure outside pushes it into the machine.