What do all the controls in an airplane's cockpit do?

I love airplanes. The closest I ever got to flying one was a simulator class in a DA42.