A crankshaft position sensor is a device used in internal combustion engines to monitor the position and rotational speed of the crankshaft. It is an important component in the engine management system, as it provides the necessary data for the engine control unit to determine the ignition timing and fuel injection timing.