* Crankshaft: Converts the reciprocating (back-and-forth) motion of the pistons into rotational motion, which ultimately turns the wheels of the vehicle.
* Camshaft: Controls the opening and closing of the intake and exhaust valves in the engine's cylinders. It uses lobes on its surface to push on valve lifters or rockers, which in turn operate the valves at precisely timed intervals.
In short, the crankshaft provides power, while the camshaft controls the timing of the power strokes.