Throughout the medical field, a biopsy is simply the removal of a tissue sample to determine if it is diseased. In dentistry, teeth and gums are sometime sent for biopsy.
If you have unexplained lesions in your mouth, they need to be examined by a dentist. They may or may not be cancerous, but they need medical attention nonetheless.