Point out the subject of a sentence
The particle が marks the subject — who or what does or is something.
JLPTN5
noun + が (subject) vs noun + は (topic)~ ga
[subject] does/is something
Example Sentences

There's a rabbit

A friend is coming!
Use が to point out the subject, the doer or the thing being described, especially when it is new information or the answer to a question. The topic marker は (pronounced wa) instead sets up what the sentence is about, often something already known. As a rough guide, が highlights and は frames.
Tips and Common Traps
Build the Sentence
JLPT N5Who came?
Arrange the words in the correct Japanese order:
きましたか来ましたか
came? が
subjectだれ誰
who