Sergio, as others have stated - this 'recognition' of chords is at the heart of chord theory. Many resources abound. You've been given several helpful links. I'll add a few more:

http://www.scotthouston.com/store/home.php

In watching this gentleman's videos on Public Television here in the US, I think that his methodology is one of the most effective at helping to learn theory without it seeming overwhelming. His course mainly focuses on teaching keyboard for enjoyment purposes. I recognize many methods from my past teachers and self-taught chord theory in his method.

The other link that may become helpful to you after you learn some chord theory basics is this site:

http://chordmaps.com/

This will take you gently through how chords fit together in sequences for western music.

-Scott