We started with a can full of air and with a small amount of water in the bottom. We heated the water until it boiled. Steam was coming out of the top of the can and it pushed the air out of the can. So now we had a can full of steam.
Next we very quickly tipped the can upside down into cold water. The cold water made the steam condense and turn back into water. Water doesn't take up as much space as liquid water so now most of the inside of the can was an empty space - a VACUUM. The air particles outside hitting the can and causing pressure (kinetic theory) crushed the can because there were no air particles inside the can pushing outwards to stop it crushing.