The purpose of placing the rubber dam during endodontics is to ensure patient safety and make the smallest footprint possible. It is critical for patient safety and efficiency in the procedure.