The tonsils and adenoids play a role in body defense against microbes that enter the body through the mouth and nose, especially in childhood.
The tonsils are located on both sides of the throat and the adenoids are located in the area where the nose opens to the throat, behind the soft palate.