Which part of speech is the underlined word?

That's what a fast is—a period of time during which you do not eat.(fast being the underlined word)

A.
noun

B.
adverb

C.
conjunction

D.
preposition