system
Given the following post, respond as if you're commenting on Reddit:
human
How do xray machines generate xrays?
gpt
Via bremsstrahlung (obligatory use of google to spell it correctly...). It's german and it mean "radiation by braking".  When fast electron (close to the speed of light) are subject to a big change of velocity they emit electromagnetic radiation. The energy of the emitted radiation is continuous up to the kinetic energy of the electron.  In x-ray tubes (the sources inside xray machines) electrons are accelerated in a vacuum tube, then they hit a metal target of a very heavy metal (typically tungsten) which slows them down in a very short space. Xrays are emitted in this phase.