A root canal dentist, also known as an endodontist, studies and handles treatment of