X-rays are produced in two ways when electrons hit a tungsten target: characteristic x-rays which only occur above 70kVp, and bremsstrahlung x-rays which are produced by electrons slowing down. The quality and quantity of x-rays can be adjusted using exposure factors like kVp, mA, and time. X-rays that pass through the body may be absorbed, scattered, or transmitted to the detector. Additional devices like collimators, filtration, and grids are used to improve image quality by reducing scattered radiation and adjusting the x-ray beam.