A low temperature aqueous growth followed by mild pyrolysis was used in this study to synthesize high-quality carbonized materials from the deserted plant Citrullus Colocynthis. It was found that the carbon material prepared for this study contained an abundance of functional groups and surface active sites. A few microns were evidently the size of the carbon material. This study investigated a variety of photocatalytic performance evaluation parameters, including initial dye concentration of methylene blue, pH effect on dye solution, scavenger stability, and recycle stability via irradiating UV light. Methylene blue degradation was found to be significantly affected by pH and concentration of the dye solution. It has been found that pH five is the most effective pH for the removal of dyes. As a result of the study, we found that methylene blue decays according to pseudo first order kinetics and is estimated to remove dye at an almost 100% rate.