Trees have been a crucial component in humans' lives for hundreds of years, providing food, shelter, and medicine. Some trees have a lot of medicinal properties that cure many diseases. In the old days, Ayurvedic methods were popular for various treatments, but nowadays, the demand for foreign medicine is increasing gradually, which also has side effects. This paper addresses this issue by deciding on the medical conditions corresponding to a symptom and predicting an herb leaf that can be treated it using some modern machine learning techniques. We have used three machine learning methods to accomplish this goal: Multinomial Naive Bayes, Gradient Boosting and Random Forest. These techniques were then used to assess the symptoms and decide the name of the disease and which leaf is appropriate for medicine. The highest accuracy (92%) was produced by the Multinomial Naive Bayes algorithm, thereby showing its capability to predict the right medicinal leaf based on given symptoms. The results show that machine learning algorithms, especially Multinomial Naive Bayes, can identify diseases and recommend suitable medicinal leaves. This approach holds promise for integrating traditional Ayurvedic knowledge with modern technology to offer alternative treatments with potentially fewer side effects.