Subjects are the nouns or pronouns that perform the action in a sentence. For example, in the sentence "The dog barked," the word "dog" is the subject because it's the one doing the barking.
The indefinite article "a" is used before singular countable nouns, such as "a dog," "a book," or "a car." It indicates that the noun is non-specific.