An important ingredient in nanosciences are foreign atoms intentionally deposited on a material to build all kind of nanostructures. The goal of this lecture is to go through the basics physics principles dictating the electronic and magnetic properties of such nanostructures. We will explore various theoretical models and descriptions and provide an overview of some of the current goals in the related highly active research field. We will address the following topics: 

Anderson impurity model
Scattering theory
Friedel Oscillations & RKKY oscillations
Rashba model and spin-orbit coupling
Simulations of scanning tunneling microscopy
Multiple scattering theory with examples of ab-initio frameworks
Linear response theory and spin-excitations