All the dependencies are held and maintained in a repository in Maven. These repositories are the directories of packaged jar files.
Whenever Maven searches for dependency addition, it looks at local repository followed by central repository, then the remote repository.
A local repository
refers to the repository on a developer's computer.
A central repository
is the one that Maven community provides.
A remote repository
could be one on the web server from where the dependencies can be downloaded.