The camshaft position sensor reads the rotation of the camshaft which the computer translates to determine engine timing sequences. The computer uses these readings to determine engine rpm and proper fuel injection and ignition timing.