An X-ray is commonly used for locating fractures and infections in the bones and detecting benign or cancerous tumors, arthritis, blocked blood vessels, or tooth decay. It can also be used for diagnosing digestive tract problems or swallowed foreign objects.