Can anyone tell me what this is?

Mine has an electrical connector on it...... I want to say they used it for the EGR, but I'm not sure......