A and an are indefinite articles, that is, they refer to singular forms followed by countable nouns; The definite article refers to a specific one, which can be followed by a countable noun singular or plural and an uncountable noun.
For example, a dog, an apple refers to a … not exactly which one; There is this problem. It refers to this problem, not to anything else. If you can understand.