Enough is a determiner, a pronoun or an adverb. We use enough to mean 'as much as we need or want'.