Chest x-rays are used to find many diseases inside the chest. A doctor can use an x-ray to examine bones, lungs, heart, and great vessels. Pneumonia and congestive heart failure are commonly diagnosed by chest radiograph. Chest x-rays are used to screen for job-related lung disease, for example in mining where workers breathe dust.