Here's why:
* It names a thing: A week is a period of time, specifically seven days.
* It can be the subject of a sentence: "The week flew by."
* It can be the object of a sentence: "I took a vacation last week."
Let me know if you have any other words you'd like to check the grammatical function of!