The field of artificial intelligence to which machine learning belongs. We use machine learning methods like K-nearest neighbor(KNN), and Linear regression algorithm to detect and diagnose illnesses in this work. The dataset is trained using supervised learning, Reinforcement learning methods in order to construct a logical mathematical model. In the context of learning models, the datasets are employed for purposes such as data analysis and illness diagnosis. The purpose of the Disease Prediction using Machine Learning (ML) system is to make predictions about diseases based on the symptoms reported by patients or other users. The user inputs their symptoms, and the machine returns the likelihood that they have a certain ailment. In machine learning, disease prognosis relies on disease prediction.