Cardiovascular diseases (CVDs) account for approximately 17.9 million deaths annually, making them a leading cause of mortality globally. As the population increases, the early detection and treatment of heart diseases are becoming more challenging. With advancements in machine learning (ML), models can now predict heart diseases effectively. In this study, we aim to predict whether a person has cardiovascular disease based on 11 clinical features from the UCI heart failure prediction dataset. We compare the performance of five different machine learning algorithms: Gradient Boosting (GB), Random Forest (RF), K-Nearest Neighbors (KNN), Logistic Regression (LR), and Support Vector Machine (SVM). Our results show that SVM is the most efficient technique with an accuracy of 94.56%, which can aid doctors in reducing heart disease-related fatalities.