Neural networks generally have many uses outside of images. A CNN is mainly used for image processing, segmentation, and classification. It works by using images as input, detecting different features of the images, classifying them, and producing outputs.