The process of diagnosing brain tumors is a lengthy task that heavily relies on the experience of radiologists. However, deep learning techniques have become increasingly popular in automating the diagnosis of brain tumors, offering improved precision and effectiveness. One such technique, Convolutional Block Attention Modules (CBAM), uses attention-based models that dynamically enhance and refine diagnostic characteristics. However, the specific impact of using different attention methods, such as channel, spatial, or combined attention, within CBAM for brain tumor classification is yet to be fully explored.To address this gap, our research used ResNet50 coupled with CBAM to classify brain tumors. This novel approach demonstrated superior performance compared to existing methods, including Convolutional Neural Network. ResNet50-CBAM showed remarkable area under the curve (AUC), recall, precision, and accuracy of 99.53%, 99.11%, 98.75%, and 99.35%, respectively, using the same dataset.The fusion of ResNet-CBAM not only captures spatial context but also enhances feature representation, making it a promising integration into brain classification software platforms. This development could benefit doctors by improving brain tumor categorization and facilitating better clinical decision-making.