ID these things please.

One is oil pressure switch, the other would be either coolant temp sensor, which sends message to relay for the electric fan , i would say .