Deep learning is having a particularly revolutionary effect in the field of artificial intelligence, namely in computer vision, where machines are equipped with the capacity to comprehend and evaluate visual information. Throughout history, convolutional neural networks, or CNNs, have been essential for image processing applications because of their superior hierarchical feature extraction capabilities. Presenting Vision Transformers (ViTs), a revolutionary approach that applies transformer topologies originally intended for natural language processing to computer vision. With an emphasis on how well CNNs and ViTs perform in image processing, this article provides a thorough comparison of the two models. With a focus on image processing, the article aims to give researchers and practitioners a better understanding of computer vision methodologies by analyzing state-of-the-art of recent researches in different fields examining their mechanisms, architectural structures, and effectiveness in handling visual data. This will help them make informed decisions in this ever-changing field.