The tonsils are 2 small masses of tissue at the back of the throat. They are part of the body's immune system, which helps the body fight disease. In some people, the tonsils become infected or enlarged. This can cause severe sore throats, snoring, or other problems. Tonsillectomy is surgery to remove the tonsils.