TEM operates by transmitting a beam of electrons through a very thin specimen. The electrons interact with the specimen, and as a result, an image is formed and magnified by a series of electromagnetic lenses. This allows researchers to visualize structures at a resolution that is significantly higher than that of light microscopy, enabling the detailed study of cellular and subcellular components.