Tonsillitis is a condition that the tonsils become inflamed. It is usually caused by a viral infection. The condition commonly affects children and typically presents with symptoms such as a sore throat, fever, ear pain, and coughing.A general practitioner might diagnose it by examining the throat and sometimes performing a swab test to detect the