In neutron scattering experiments, a beam of neutrons is directed at a sample. The neutrons interact with the nuclei of the atoms in the sample, causing them to scatter. By measuring the angles and energies of the scattered neutrons, researchers can infer detailed information about the atomic and magnetic structure of the material.