The medical specialty that is concerned with gums is periodontics.