Why did Apollo astronauts perform experiments on the moon?

Ato test new technologies
Bto test nuclear weapons
Cto learn more about the moon
Dto learn more about earth