- English generally wants singular nouns tagged with a determiner unless the noun is being used to refer to the type of something rather than an instance of something, or in more than a few fixed prepositional phrases.
- Determiners, including articles, signify the importance and expectation around the question "which X".
- Definite articles are a signal to the listener/reader that the they should know which X the speaker/writer means. That's all. It has nothing to do with "specificity" as often explained by others. If the listener/reader doesn't know typically they will be triggered to ask.
- The indefinite article is a signal to the listener/reader that they don't have to know or care about "which X". It will trigger a listener/reader not to ask or wonder.
- Proper nouns don't take articles because usually the question "which John?", for example, isn't a concern.
And they do take articles when the question is a concern, in exactly the same way as other nouns. E.g., (for a highly contrived example) “The John Smith in the story of Pocahontas is not the John Smith found in a contemporary register of tradesmen in London discovered last week”.
If you worked at one of those institutions, though, you'd add an article and be specific - you work "at the university" or "at the hospital". (You'd expect the listener to infer that you mean the specific university/hospital in the area, assuming there is only one.)
Edit: More colloquially, we also have "going into town" (no article, even though it's probably a specific town that is clear from context!)
The article-less usage only seems to work for generic places (hospital/school/prison/university). It doesn't belong with a noun that refers to a person but also sort-of-refers to that person's place of business. You're "going to the doctor" or "the dentist" or "the hairdresser" - never "going to doctor". This is despite the specificity often being superfluous here - the listener might not know/care which dentist you use!
Likewise "went to school" (as a scoolchild) vs "went to the school" (to collect someone, or to teach). "At university" (a student) vs "at the university" (physical location, for any reason). "Went to prison" (as a criminal) vs. "went to the prison" (to visit his brother, or to fix their telephones). "Does she go to church?" (to church services) vs. "did you go to the church?" (to see the stained glass).
"Go to the doctor" is a bit different, the doctor isn't an institution, he's a person. Although I think that implies you went for medical reasons, if you stopped by to pick up some paperwork, you might say "I have to stop at the doctor's" i.e. his rooms. But maybe that's also because you would probably talk to the receptionist anyway. But "went to the barber" implies you had a shave, while you might "stop at the barber's" to pick someone up.
You don't go to store though, hang out at mall, meet at restaurant, or go to bar for a drink.
I think the difference between the two usages is considering "hospital" an institution.
I also don't think a vs the requires the listener to know which specific place you're talking about, it seems to also communicate that the speaker knows what place they're talking about. "I'm going to the store to buy carrots" vs "I'm going to a store to buy carrots." Someone knows vs no one knows.
He’s gone to hospital. (Hospital is abstract, we don’t necessarily know which one)
He’s gone to the hospital. (A specific hospital, either inferring which one by context or prior knowledge)
For example, for me it was very hard initially to get used to always explicitly putting in the subject of a sentence, because i my native language the subject is often implied (our verbs vary a lot more than in English, so saying 'I wash the dishes' - 'eu spăl vasele' instead of 'wash the dishes' - 'spăl vasele' is redundant, the verb form already tells you it's me who is doing the washing).
Look at French - exact same idea, but consistently used, so it's a piece of cake to learn. English in comparison is just... PRNG. Here you need them, here you don't, unless you do, but it would still sound better if they weren't here.
the carries with it the implication of (о чем я уже говорил) or (вы знаете уже какой)
a means один _____ (но может быть вы не знаете кокой)
Ø (no article) means the noun is probably abstract.
-----BREAK BREAK-----
Where you might get all twisted up and confused is with concrete collective/uncountable nouns. These are exceptions and work very differently. Examples are: pizza, foliage, pasta, people, etc. You simply have to memorize them.
the still means the X that has a clear referent because we have already discussed it or it's clear from surrounding context
a can be one of two things: - a countable quantity of an uncountable noun, e.g., "a pizza" usually means "a unit of pizza; a pizza pie" - shorthand for a type of or category of an uncountable noun, e.g., "linguine is a pasta" means "linguine is a type of pasta"
"The book rested on a shelf" and "a book rested on a shelf". You use a or the if you want to draw attention to one or the other or even both. It depends on context. The book I mentioned earlier rests on the top shelf. The top shelf is above another shelf. The other shelf is the middle shelf. If there were lots of sets of shelves then the middle shelf would be a middle shelf, unless I want to call attention to it, then it is the middle shelf. A red toy lorry lies on the middle shelf. The red lorry has a black steering wheel. The steering wheel is broken.
There is a logic to all of that - honest!
"These are times that try men's souls" vs. "These are the times that try men's souls."
"I need answers" vs. "I need the answers"
"I have fear that .." vs. "I have a fear that .."
Native English speakers "know" which "sound better"; many ESL kids simply do not.
Many languages express the verb "to fear" as "to have fear" (tener miedo, avoir peur) so to insert an article ("I have a fear" ...") becomes almost psychologically problematic, it's "unlearning" plus learning.
You're spot on with the articles though. When coming from a language like Japanese that doesn't have articles the using "a" and "the" correctly is maddening.
I'm not going to try for a Bulgarian example of the difference, but here's an English vs French one
"A Paris, les oranges ont l'air ..."
"In Paris, oranges appear ..."
One could possibly add a definite article to the English sentence, but one definitely cannot remove it from the French one.
AIUI if the word sounds like it starts with a vowel sound, it's an an. If not, it's an a.
I have to say a word (or abbreviation, or acronym) out loud very occasionally to determine if 'an' is appropriate -- and reading the writing of North American english speakers throws me when an 'an' is used in front of a word that, in my head, starts with a consonant sound.
The obvious example being 'an herb' - because in Australia (and indeed England) the h is pronounced, consequently it would normally be 'a herb'.
There are minor mental flurries with abbreviations that some people pronounce differently, I'm sure.
Coming from a language that has no articles at all, it was by far the hardest thing to learn.
Hard rules about where you should and shouldn't put articles are few. The rest is pure feeling and experience.
What's an absolutely fucking black magic is the use of articles. The frivolity with which a's and the's are sprinkled through an average sentence is genuinely infuriating. There are rules, but "they are more like guidelines". In reality asking native speakers why they used the here, but not there typically draws blank looks. Having used English daily for over 20 years I still have to resort to A/B testing the placement (or not placement!) of articles in my head and check which option sounds "more English."