In electron holography, a coherent electron beam is split into two parts: the object wave, which interacts with the sample, and the reference wave, which does not. These two waves are then recombined to produce an interference pattern, or hologram, which contains information about the phase shifts induced by the sample. Advanced microscopy techniques are used to reconstruct this hologram, enabling the visualization of both the internal and external structures of the sample at an atomic level.