Camshaft:

A shaft having a number of cams at appropriate angular positions for operating the valves at timings relative to the piston movement and in a sequence as per the firing order. It rotates at half the crankshaft speed.