The particle が is a subject marker in Japanese. It is used to indicate the grammatical subject of a sentence and often places emphasis on **what or who is doing something or what exists.
Answering questions with emphasis
When answering questions like だれが (who) or 何が (what), が emphasizes the specific subject.
Describing characteristics or states
Contrasting with other subjects
が can emphasize one subject in contrast to another.