X-ray free-electron lasers (XFELs) produce incredibly powerful beams of light that enable unprecedented studies of the ultrafast motions of atoms in matter. To interpret data taken with these extraordinary light sources, researchers need a solid understanding of how the X-ray pulses interact with matter and how those interactions affect measurements.