X-rays are commonly used to detect fractures, infections, and foreign objects, as well as to diagnose conditions like pneumonia, arthritis, and dental issues.