Why is there oil on my floorboard?

The oil pressure sensor itself is on the oil pump and only a wire goes from that to the indicator light in the dash. So that it not going to be the issue.