X-ray diffraction is a technique used to determine the atomic structure of crystals. When X-rays strike the regular array of atoms in a crystal, they produce a pattern of diffracted rays. By measuring the angles and intensities of these diffracted beams, the crystal structure can be analyzed. X-ray crystallography is used across many fields to determine molecular structures, crystal structures, and physical properties of materials. It works by firing X-rays at crystalline samples and observing the diffraction patterns that emerge, which can then be analyzed using Fourier transforms to reveal details about atomic positions and electron densities within the crystal. Common applications of X-ray diffraction include phase identification, structural elucidation of organic and inorganic compounds, and