The camshaft is vital to the basic function of the engine. Made of two separate parts, the cam and shaft, the camshaft is meant to enable the valve to open. As the shaft turns, the cams push the valves open in sync with the crankshaft gears.