Where does apt install from?
They are installed from a trusted pool. Advanced and freely available applications which needed for majority of the functions in computing are in that pool. You can select and install from either Software Center or running sudo apt-get install [PACKAGENAME] command.