The dog stole a cake.The dog is a noun phrase. stole is a verb.The dog is the one doing the action of the verb stole.The dog is the subject of the verb stole.