adverb: on the day before today
I finished the report yesterday.
noun: the day before today
Yesterday was a very productive day.