It is a simple yet effective machine learning algorithm that is used for classification and regression problems.