If you think of an oil rig[1] it's not hard to imagine it having a lot of sensors monitoring the state of the equipment needed to pump oil out of the well. The wells on land aren't as complicated because they don't need crew quarters or things to keep them afloat, but the oil drilling equipment is basically the same.
[1] Eg https://upload.wikimedia.org/wikipedia/commons/a/ab/Oil_plat...