The knock sensor is on the back of the block, and retards ignition timing when it detects cylinder knock. The blue plug looks like the plug that goes to the evap purge valve that is mounted on the fuel rail. As for that other plug, I'm not sure what it goes to. It doesn't look like I have that in my car, unless it's like for cruise control or something, but it doesn't really look like my c/c plug.