These were of three types: testing the lunar EVA suit in Earth orbit (Apollo 9), exploring the lunar surface, and retrieving film canisters from the Scientific Instrument Module stored in the Service Module.
These were of three types: simulating lunar extravehicular activities in Earth orbit (Apollo 9), surveying the lunar terrain, and retrieving data storage units from the Scientific Instrument Module stored in the Service Module.