Endodontics is a specialized branch of dentistry that deals with the diagnosis, prevention, and treatment of diseases and conditions related to the dental pulp and tissues surrounding the roots of teeth. The most common procedure associated with endodontics is root canal treatment, which involves removing infected or inflamed pulp from inside the tooth and sealing it to prevent further infection.