H2, H3 tags are used to structure and organize the content on a page, and search engines like Google use them to understand the context and relevance of the content.
Google cannot only describe the image or read the image without any context nor it can describe the reason why have you shared this image according to your content.