Production of X Rays