が
が
particle
subject marker
1.
subject marker
Marks the grammatical subject of a sentence—who or what performs the action or is being described. Unlike は, が typically introduces new information or emphasizes the identity of the subject.
2.
object marker (with certain predicates)
With certain verbs and adjectives expressing ability, desire, or emotion (できる, 分かる, 好き, 欲しい, etc.), が marks what would be the object in English. 日本語が分かる (I understand Japanese), 猫が好き (I like cats).
3.
but, although (conjunction)
Connects two clauses with a contrastive or concessive meaning. Similar to 'but' or 'although' in English.
The は vs. が distinction is notoriously difficult for learners. Key differences: (1) が introduces new information, は marks known/topical information; (2) が is used in subordinate clauses; (3) が is used after question words (誰が, 何が); (4) certain predicates require が for their 'object' (好き, 分かる, できる, 欲しい, etc.).
Related Words
Contrast:
は (topic marker)