 In piston engines, the camshaft is used to operate the intake and exhaust valves.The camshaft consists of a cylindrical rod running the length of the cylinder bank with a number of cams (discs with protruding "cam lobes") along its length, one for each valve.The cam lobes force the valves open by pressing on the valve, or on some intermediate mechanism, as they rotate.