These small words are called articles. “A” and “an” are indefinite articles used for one non-specific singular countable thing. “The” is the definite article used when the listener knows which thing you mean.
Rules to start with: 1) Use “a” before a consonant sound and “an” before a vowel sound: “a book”, “an apple”, “an hour”, “a university”. The sound matters, not the spelling. 2) Use “the” for something already mentioned or clear from the situation: “I bought a car. The car is red.” 3) Use “the” for unique things such as the sun. 4) Plural and uncountable nouns often have no article when you speak in general: “I like music.”
There are exceptions and many fixed phrases, so reading and listening to a lot of English helps you develop a feel for them.
Can you fix this sentence: “I saw elephant at zoo”?