X-rays diagnose fractures but can also be used to diagnose other medical conditions like a foreign object in the body, damage to specific organs and cancerous tumours or infections.