Originally Posted by
Xuc Xac
"Who" is a subject (it performs the action) and "whom" is an object (it "receives" the action of a verb or preposition).
Bill gave Jim a letter.
Who gave Jim a letter?
Bill gave whom a letter?
To whom did Bill give a letter?
Et cetera.