What are these fittings?

The first pic is the cam sensor and the second pic is the water temp sensor.