When installing packages using the Ubuntu Software Center or the command line utilities such as `apt` or `apt-get` the packages are downloaded from one or more apt software repositories. An APT repository is a network server or a local directory containing deb packages and metadata files that are readable by the APT tools.
Source: LXer – How To Add Apt Repository In Ubuntu