The tonsils are glands located on both sides of the back of the mouth. The tonsils are part of the immune system and help fight infections.