Your tonsils are gland-like structures in the back of your throat. You have one located in a pocket on each side. Tonsils are made of tissue that contains lymphocytes -- cells in your body that prevent and fight infections. It is believed that the tonsils play a role in the immune system and are meant to function like nets, trapping incoming bacteria and virus particles that are passing through your throat.