Root canal Doctor
The answer to your question is both.
Most of the time the routine root canals are done by the general dentist. The more difficult root canals or root canals that need to be retreated are usually done by the endodontist. Some general dentists do not like to do root canals, so they refer them to the endodontist.