Tonsils help in defending infections.
Before the age of 8, tonsils removal should be strictly avoided since it plays a main role in the immunity of the children and may provoke serious complications if removed. But, after that, if the condition is absolutely necessary, i.e. mass is huge in size and fibrosed, obstructing the passage of digestion or respiration and doesn't respond to medicines, it is better to go in for surgery than treating for the sake of easing the deglutition and freeing respiration.
Removing the tonsils or adenoids does not cause any problems with the immune system. In fact, if frequent infections have been a problem, removing them can make the immune system's job easier.
You have rated this answer /10