In HREM, a beam of electrons is transmitted through an ultra-thin sample of the catalyst. As the electrons interact with the atoms in the sample, they form an image that is magnified and recorded. Advanced software is often used to enhance the image and extract detailed information about the atomic structure.