The two main types of supervised learning are classification and regression. Classification tasks involve predicting discrete labels (e.g., spam or not spam), while regression tasks involve predicting continuous values (e.g., house prices).