The Laplacian operator is used for edge detection and feature extraction by highlighting rapid intensity changes in an image.