X-rays are a type of imaging test. They are done to help diagnose and treat a number of diseases. This type of test uses small amounts of radioactive material.