Dynamics and chaos