An X-ray of the ribs, specifically the anterior-posterior (AP) and lateral views, may be ordered to evaluate the bones and surrounding structures of the chest. It can help diagnose or assess conditions such as fractures, dislocations, tumors, infections, and other abnormalities in this region.