Oral ulcers are painful sores or lesions that develop on the inside of the mouth, gums, or tongue. They can result from various causes including minor injuries, infections, nutritional deficiencies, or underlying medical conditions.