To glide is to to move smoothly and continuously along, as if without effort or resistance. To slide is to to move along in continuous contact with a smooth or slippery surface. They mean almost the same thing. In common usage, I would say that gliding depends less upon the surface an object is moving upon, under, or through, and in order to slide, an object would require the surface to be slippery, or slick.