What is the difference between a slide gate and a swing gate?

Swing gates work by opening inwards or outwards like a standard door, while sliding gates work by running the section that’s opening along a rail parallel to the fixed section of the perimeter.