A mammogram is an x-ray examination of the breast. It is used to detect changes in the tissues in the breast and to diagnose breast disease. Mammograms are performed on patients who have a history of pain, lumps, or other problems in their breasts. Those are called diagnostic mammograms. However, it is also ordered as an exam for patients who have no breast complaints. In these cases, they are called screening mammograms.