What Nitrites Do. Nitrites keep meat red by bonding to the myoglobin and acting as a substitute for the oxygen. Oxygen and sodium nitrate both turn myoglobin red, but nitrate attaches with a more stable bond and so the color lasts longer.