If for some reason when you choose to sell, trade, or recycle to other owner your Mac
that shipped with a built-in system, the use of Recovery may be able to re-install the
original system it had in it when new; or one that is not associated with your AppleID.
•OS X: About OS X Recovery - Apple Support
That aspect of removing your AppleID from the computer or iDevice prior to a new
owner taking possession, lets the product function and does not brick it later...
Also, if you had a computer that shipped with Mavericks 10.9, and you may have
some software that worked better there, you may be able to go back; or install it
from the recovery mode and put it into a different partition on a hard disk drive.
However there are utilities and processes that may remove all residual parts of an
older system; in some instances, an older 'original system' could be lost.
So the process with an older model that had a system install-restore DVD disc set
would be different, and in some ways better for those with an offline archive from
which to restore or renew the system. A clean copy of the installed system, for your
own use, could be created on a separate externally enclosed hard drive of suitable
specification that could support bootable clones. If set up ahead of time.
In any event, the step-by-step is covered in the link above as well as it was
in the link content to thesafemac site, where there is no install DVD involved.
The internet access is part of the setup. An existing location can be used.
Good luck & happy computing! 🙂