Che = subject or direct object (no preposition). Cui = with preposition (a cui, di cui, in cui...). Il quale = formal alternative, requires article. Chi = whoever (no explicit antecedent).
Advanced Relative Pronouns — Distinguishing Che / Cui / Quale in Context1 / 10