A research initiative that attempts to categorize the many forms of cancer using machine learning algorithms. Machine learning strategies are being researched to enhance the precision and speed with which cancer is diagnosed. The researchers compiled a dataset consisting of cancer patients. They used several machine learning algorithms to analyze the data to identify patterns and characteristics that may be used to differentiate between the various forms of cancer. According to the research findings, the machine learning algorithms were practical in correctly categorizing the multiple forms of cancer, and the accuracy of the models was greater than that of conventional diagnosis techniques. The research results indicate that machine learning algorithms can be a valuable cancer detection tool. These algorithms have the potential to assist in improving patient outcomes by more rapidly and correctly detecting the proper diagnosis.