Generally, a subject of a verb does function as a subject of the sentence which features. Anyhow, to some extent, there has to be a subtle distinction, though.
Would you please distinguish “subject of a verb” from “subject of a sentence” with pertinent examples?