Both do 100% the same thing. I just happen to find the control on the body more convenient, its under my right index finger in the form of a wheel adjustment on my D200.
Older lenses will have the aperture ring... newer lenses for digital cameras won't have it.