Heart disease is a critical issue in the field of medical science, and accurate prediction plays a crucial role in improving patient outcomes. In recent years, machine learning algorithms have emerged as powerful tools for predicting disease. This thesis aims to produce and compare two popular machine learning algorithms K-Nearest Neighbors (KNN) and Decision Tree for Heart. Heart disease prediction