I have Patriot heads on my LS2 motor

I have a sensor on the rear passenger side head and a sensor on the front driver side head.

Can anyone tell me what these sensors do?