" He is the guy who gives me the advice "
who = the guy
" He is the guy whom I met the other day "
whom = the guy,
The difference is ' who ' takes the place as a subject of the clause whereas ' whom ' as an object of the verb ' met '.
Also:
When to use Who vs. Whom