Laplacian filter has the same logic as in the spatial filter. However, the filters are different from smoothing filter. Filters can be seen in the following image.
The first filter gives the second derivative of the image. If the pixel values are represented as a function. Second derivative gives infection points where the function goes from convex to concave or concave to convex.