What is the difference between pistal and revolver?

The difference is that a pistol has a magazine and a revolver has a rotating cylinder that has individual chambers to shoot