The tonsils and adenoids are part of the immune system and help fight infections.