An oral ulcer, commonly known as a canker sore, is a small, painful lesion that develops on the soft tissues inside the mouth. It can be caused by factors such as injury, stress, nutritional deficiencies, or underlying health conditions.