הַ plus a following dagesh is the basic "the." Vowels under ה change before gutturals.
הַ with patah, and dagesh in the next letter when that letter can take it: הַמֶּלֶךְ, הַיּוֹם. Prefix prepositions בְּ לְ כְּ swallow the ה and keep its vowel: בַּיּוֹם.
the king
the day; today
on the day
Aleph, he, het, ayin (and often resh) reject dagesh. The article lengthens or lowers: הָאָרֶץ, הֶהָרִים. Learn a few high-frequency shapes rather than memorizing every rule first.
the earth, the land
the man
the mountains
Personal names are already definite. A construct chain takes the article only on the last member, never on the construct noun itself.
Smikhut: two (or more) nouns in a row, the first in construct, the last carrying definiteness for the chain.
אֵת (often אֶת) flags a definite direct object. It has no English word of its own.
A closed set of short words does the work of English "in, to, from, on, before, after."