SAED operates by directing a beam of electrons onto a localized area of a specimen. These electrons interact with the atomic planes of the crystal, causing them to diffract and form a pattern of spots on a fluorescent screen or a camera. The diffraction pattern reflects the periodicity and symmetry of the crystal lattice, and can be analyzed to extract valuable information about the material's structure.