X-ray tubes are devices that produce X-rays, a form of electromagnetic radiation. They typically consist of a cathode and an anode within a vacuum tube. When a high voltage is applied, electrons emitted from the cathode accelerate towards the anode, producing X-rays as a result of bremsstrahlung and characteristic radiation.