There are areas on Mercury where ice is constantly lying. How does this fit with the heat of this planet?

The axis of rotation of Mercury is almost perpendicular to the orbital plane. Therefore, in the polar regions, the Sun is low above the horizon and the temperature there is extremely low – about 60 K.

Remember: The process of learning a person lasts a lifetime. The value of the same knowledge for different people may be different, it is determined by their individual characteristics and needs. Therefore, knowledge is always needed at any age and position.