The primary components of an SEM include the electron gun, lenses, detectors, and a vacuum chamber. The electron gun generates the electron beam, which is focused onto the specimen by electromagnetic lenses. Detectors capture the secondary electrons emitted from the sample surface, translating them into images that can be analyzed.