I would suspect that it may ave belonged to your car at one time and may have been left laying around after a previous repair. It looks like an oil pressure sender but could not have fallen out by itself. The car would be pouring oil out all over the place if it had. It would have emptied all it's oil in a matter of seconds.
SPONSORED LINKS
Saturday, October 4th, 2014 AT 4:28 AM