How do astronauts live on the moon without a space station?

When astronauts go to space from Earth, they stay in the space station.

They have living arrangements and facilities in the International Space Station.

But when astronauts went to the moon, there was no such facility.

There is neither a space station nor a launching pad, nor any other facility.

So do astronauts sleep in the open sky on the moon or do important work?

The answers to these questions are hidden in the space vehicles themselves.

The space vehicle in which astronauts go to the moon would have been very small.

But scientists make all the arrangements in that

This is where astronauts live and do their work during missions.