So, what is this for??

I was replacing my spark plugs this weekend, and saw this at the top end of the engine.

My iphone.
Photo: My iPhone.
Advertisement

One wire in, another out leading to that small bolt which is, I assume, for an electrical ground. What it is for, I don’t know. It’s a 2006 Ford Focus, 2.0 liter. Any ideas?