A search engine cannot understand an image or what it is about. So, to give it an idea, the image alt text helps. It is an HTML attribute. If for some reason, the image is unable to be displayed on a browser, one can read the alt tags and understand what the image is about. It even optimizes the image for image searches and can be a Google ranking factor as well.