Agriculture is one of the essential sources of occupation and revenue in India. Conferring to existing statistics, most agriculturalists are facing severe losses due to poor farming yield. Farming activities are challenged by various environmental factors that affect agricultural productivity to a greater extent. The present farming situation is above the average of the process involves more biochemical bases for managing the diseases and other destructing facts. The foremost problems they are facing in day-to-day farming tasks are crop or plant diseases affecting productivity. Also, the growth of weeds along with field crops has been another challenge. The technology has developed to rectify the problems using some machine learning algorithms like Random Forest algorithms, Decision trees, Naïve Bayes, KNN, K-Means clustering, Support vector machines. The result has been evaluated and observed through the performance evaluation metrics using confusion matrix, accuracy, precision, Sensitivity, specificity with the observations, research, and studies. The statistics have expressed the overall accuracy of 98% by achieving the detection of diseases in plants and by removing the weeds that ruin the growth of plants.