A diagnostic X-ray tube uses a heated cathode filament to release electrons by thermionic emission. A large accelerating potential difference drives these electrons onto a tungsten anode at high speed.
The physics of diagnostic X-rays(A-level only) Lesson