Why do u say "at home" but u say "at the restaurant" "at the gym"?

Why do u say "at" and some times "at the"?

"at school" why not "at the school"?
20 answers 20