Since the work of Haskell Rosenthal from the 1970's it has become aparent that structure theory of compact sets of Baire class one functions on Polish (or more generally on K-analytic) spaces can interpret important problem from the geomatry of Banach spaces. This will be an overview of this area starting from the classical theory and ending with some some more recent results.