An X-ray of the foot is a diagnostic imaging test that uses X-ray technology to produce images of the bones, joints, and soft tissues of the foot. It is typically used to evaluate injuries, such as fractures or dislocations, as well as conditions that affect the bones and joints of the foot, such as arthritis or deformities.