When modifying non-specific or non-particular nouns, “a/an” is used; when modifying specific or particular nouns, “the” is used.