It is better classified as a determiner, more specifically, an article. However, its function (noun modification) is the same as that of an adjective, and some grammars will list it as such.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.