Google’s John Mueller responded to questions around image SEO, specifically explaining that while the image itself and the alt text is useful, so is the page that image is embedded on. This is all useful for Google to know the relevance of an image based on a specific query.