은/는 vs. 이/가
은/는 introduces the topic: what the sentence is about. 이/가 points out the subject specifically, especially when you answer a question, mention something for the first time, or single it out from others. As a rough guide: 은/는 = "as for ...", 이/가 = "... is the one that". English has no direct equivalent, so the best way to learn them is through examples.
코끼리는 코가 길어요.
kokkirineun koga gireoyo.
Elephants have long trunks. (lit. "As for elephants, the nose is long.")
누가 왔어요?
nuga wasseoyo?
Who came?
제가 했어요.
jega haesseoyo.
I did it. (I'm the one who did it.)
When do you use this?
Use 은/는 when you want to introduce a topic or contrast two topics: 저는 커피를 좋아해요. 이/가 usually answers "who?" or "what?": 누가 왔어요? 민수가 왔어요. The difference between the two is not a fixed translation rule; the context and what is new in the conversation decide which one fits.
Common mistake
Don't assume that 은/는 and 이/가 are always interchangeable. In reply to 누가 왔어요?, 민수가 왔어요 fits better than 민수는 왔어요, because you are identifying the person who came.
Try it yourself
Someone asks you: 누가 왔어요? How do you answer that Minsu is the one who came?