To understand the signs and reasons for why you need endodontic surgery, it is important to understand the inner layers of a tooth. The outermost layer of the tooth is the enamel, which protects the tooth and acts as the main surface for chewing food. The next level is the dentin that surrounds the third layer, known as the pulp. The pulp contains all of the nerves and blood vessels in the tooth.