Which of the following components controls the opening and closing of the valves in an engine?

A. Crankshaft journals
B. Push rod
C. Rocker arms
D. Camshaft lobes