Camshafts

What are the advantages for using camshafts?
How do camshafts improve performance? Adjusting the camshafts so the cams are slightly ahead or behind will alter the engine's performance. Advancing ...