In this talk we will present the notion of spectral triple and explain how this can be viewed as an extension of the classical concept of spin manifold to the noncommutative case. Moreover, we will describe how each spectral triple naturally induces a gauge theory. The talk will end by presenting some classical examples of gauge theories described in terms of spectral triples.