The sun is also a serious problem. The rotation speed of the Moon is very slow, so there will be up to 14.75 days on one side of the Moon being shone by the sun. And the story is that the Moon has no atmosphere, it would be like a furnace.
And for the next 14.75 days, the entire area went into darkness again, and the temperature became so cold that no one could imagine it.
However, NASA has also developed a lot of tools to deal with these difficulties. Like the Kilopower – a small nuclear reactor can provide enough energy for astronauts in the absence of the sun. It can also be used on Mars.