Tonsils were a Human organ located in the throat. They apparently had no use, but they often caused problems and were removed.
Despite having access to the latest advances in medical technology, McCoy still believed there was a purpose in examining patients the old-fashioned way, and used these as an example. He was interrupted from examining Robert Crater's tonsils by the apparent scream of his wife Nancy Crater.(TOS: "The Man Trap")