SVMs are used to classify data by finding the hyperplane that best separates the training data in the feature space.