While it may seem confusing since the noun and verb are the same word, "affect" can function as both.
* Verb: "The music affected her deeply." (Meaning: the music had an influence on her)
* Noun: "The doctor noted the patient's affect was flat." (Meaning: the patient's emotional state was subdued)
The noun "affect" typically refers to a person's emotional state or outward expression of emotion.