In conclusion, the attention mechanism is a crucial component in the proposed deep learningbased image caption generator for real-time monitoring and predictive control of CO2 emissions. The additive attention mechanism proposed by Dzmitry Bahdanau enables the system to focus on specific parts of the image when generating each word of the caption, leading to more accurate and descriptive captions. While the attention mechanism poses some challenges, its benefits make it a valuable tool in image captioning.