Here are some examples:
* What is your name? ("Name" is the object of the question.)
* The name of the book is "Pride and Prejudice." ("Name" is the subject of the sentence.)
* She wrote her name on the paper. ("Name" is the object of the verb "wrote".)