X-ray crystallography uses X-rays to determine the atomic structure of crystals. It works by firing X-rays at crystalline samples and analyzing the diffraction patterns. This allows researchers to visualize protein structures and identify unknown crystal structures. The key steps are obtaining a suitable crystal sample, exposing it to X-rays, and computationally analyzing the diffraction data to produce an atomic model of the crystal structure. Common applications include determining molecular structures, characterizing polymers, and assessing the crystallinity and degradation of materials.