The nurse provides comfort measures to maintain normal body temperature and reduce pain and anxiety for a patient who is experiencing shock. What is the purpose of the nurse performing these actions?