Tonsillectomy is the surgery to remove infected tonsils. If tonsillitis results in difficult-to-manage complications such as swallowing difficulty, breathing difficulty, or obstructive sleep apnea. Tonsils are two masses of tissues, also known as lymph nodes, located at the back of your throat. They act as filters, preventing germs from entering your airways. However, they sometimes themselves become infected. The viruses and bacteria that attack them cause swelling and inflammation resulting in tonsillitis.