This study compares k-means and DBSCAN clustering algorithms for segmenting brain tumors from MRI images. Using a dataset from the Radiopaedia image database, the research highlights that while k-means produced noisy results, DBSCAN demonstrated higher efficacy due to its ability to handle noise and identify clusters of arbitrary shapes. The findings suggest that further exploration of clustering algorithms could enhance the segmentation of medical images.