Marks the grammatical subject — who or what performs the action or is being described. It puts emphasis on the subject itself (new information, or the answer to a 'who/what' question). It is also the particle used with verbs of existence, ability, and desire.
[Subject] が [Predicate]
雨が降っています。
Ame ga futte imasu.
It is raining.
雨 (rain) が (subject) 降って (falling) います (continuous)
私がやります。
Watashi ga yarimasu.
I will do it (not anyone else).
が singles out 'I' as specifically the one who will do it (exhaustive/identifying)
犬が好きです。
Inu ga suki desu.
I like dogs.
好き (like), 嫌い (dislike), 欲しい (want) take が for their target
• Question Words: Question words as subjects (誰, 何, どこ) MUST take が, never は (e.g. 誰が来ましたか?). • Object Marking: Words of preference (好き/嫌い), desire (欲しい/たい), and ability (できる/分かる) take が, not を, for their target. • Subordinate Clauses: The subject inside a modifying clause ('the book [that I bought]') takes が: 私が買った本, never は. • Conjunction: が at the end of a clause means 'but' (行きますが… = I'll go, but…).
The JLPT rarely asks whether you recognise a pattern — it asks which of several similar patterns fits. These are the ones が is tested against.
が identifies/introduces the subject as new or contrastive information and keeps focus on it; は merely presents a known topic and shifts focus to the comment. Answers to 'who/what' questions take が.
For transitive verbs the object takes を, but stative predicates of liking/ability/desire (好き, できる, 分かる, 欲しい) take が for what would be the English object: '日本語が分かる', not '日本語を分かる'.
Study Japanese grammar on LenGaki

Get the Android app
The app adds offline study, home-screen widgets, stroke-order tracing, speaking practice with pronunciation scoring, and an AI tutor that answers questions in context — none of which fits in a browser tab.