The Subject
The person or thing that performs, controls, or is responsible for the action of the verb.
Every sentence needs a subject — the person, thing, or idea that the sentence is about. Without a subject, we have no way of knowing who or what is performing the action or being described. The subject is the anchor that the rest of the sentence revolves around.
The subject can take many forms. The simplest is a bare noun (birds, water), but you will more often see noun phrases: a noun with its own modifiers (the old wooden chair, a cup of hot tea). Pronouns stand in for nouns (she, they), and gerunds — verbs turned into nouns by adding -ing — let you treat an action as a subject: Swimming is great exercise. Infinitives work the same way: To forgive is divine. Even entire noun clauses can serve as the subject: What you said surprised everyone.
English also uses two special dummy pronouns when there is no real subject to name. We say It is raining, not Is raining, because the weather has no doer — it fills the grammatical slot. Similarly, There is nothing we can do uses there as a placeholder that pushes the real subject (nothing) further into the sentence.
In declarative sentences, the subject sits before the finite verb (She knows). In questions, however, it slips between the auxiliary and the main verb (Does she know?), which is one of the most reliable tests for identifying the subject. Passive constructions flip the relationship: the grammatical subject becomes the receiver of the action rather than the doer (The cake was eaten), while the original doer may appear as an optional by-phrase.
The most important rule about subjects is agreement. In the present tense, third-person singular subjects require the -s ending on the verb (she walks, he sings), while modal auxiliaries defy this rule entirely (she can, never she cans). Irregular plurals like children take plural verbs (children are), and indefinite pronouns like everyone and somebody take singular verbs (everyone has, not everyone have).
Watch out for the double subject error. In many languages, repeating the subject as a pronoun is normal, but in English it is wrong: My friend she is kind should simply be My friend is kind. Likewise, never drop the dummy subject: It is raining, never Is raining.
Examples
Swimming is great exercise.
Gerund as subject
There is nothing we can do.
Dummy pronoun subject