You use the word "a" for interchangeable, fungible items and "the" for specific, unique, non-fungible items.