Question: how are electron beams produced?
Answer: Electrons are produced in an electron gun. A hot cathode emits electrons, which are accelerated towards an anode, passing through an aperture to reach the accelerating waveguide. A negatively charged focussing electrode narrows the electrons into a fine beam which then passes through the aperture in the anode.