"Who" is the subject form of the pronoun and "whom" is the object form. Prescriptively speaking: I can talk to whomever I want. "Whom" is increasingly rare in spoken registers, but is expected in written English.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.