Yes. X-rays can help to detect different diseases of the gums and teeth such as infection around the root, tooth decay, or an abscess.