The palatine tonsils and the nasopharyngeal tonsil are lymphoepithelial tissues located near the oropharynx and nasopharynx (parts of the throat).