For some patients it is necessary to inject contrast agents directly into arteries or veins. In this case, iodine-based molecules are suitable contrast agents. Iodine is chosen because it has a relatively high atomic mass and so markedly attenuates X-rays, but also, importantly, it is naturally excreted via the urinary system. Intra-arterial and intravenous contrast agents are extremely safe and are well tolerated by most patients. Rarely, some patients have an anaphylactic reaction to intra-arterial or intravenous injections, so the necessary precautions must be taken. Intra-arterial and intravenous contrast agents not only help in visualizing the arteries and veins but because they are excreted by the urinary system, can also be used to visualize the kidneys, ureter, and bladder in a process known as intravenous urography.