During the procedure, the patient stands or lies in a specific position while an X-ray machine sends a beam of radiation through the chest. Different tissues absorb varying amounts of radiation, creating a contrast that appears on the X-ray film or digital sensor. Denser materials, like bones, appear white, while softer tissues appear in shades of gray or black.