TEM operates by transmitting a beam of electrons through a very thin sample. The electrons interact with the sample as they pass through it, resulting in a high-resolution image that can be captured on a screen or a detector. The key components of a TEM include an electron source, electromagnetic lenses, a sample holder, and a detector.