The first Nikon AF cameras had the focus motor in the body. It couples to the lens using a fitting which looks a bit like a flat blade screwdriver.
Later Nikon lenses have the motor built in.
The higher range of Nikon cameras will work with either type of lens but the smaller, more entry level models don't have the focus motor in the body so it needs to be in the lens.
Steve.