What's this

To be specific oil pressure sending unit for an idiot light, not a gauge.