Answer:
it depends on the sentence; can be a verb or a noun
Step-by-step explanation:
The verb censor means 'to remove parts of materials that are considered offensive':
e.g. When school officials disapprove of certain content in a book, they censor it.
The noun censor means 'a person or institution that does the censoring:
e.g. A government censor removed parts of the book.