A language is a dialect with an army and navy. What does that mean?

This quote, often attributed to Max Weinreich, a Yiddish linguist, is a humorous observation about the social and political factors that influence how we categorize languages and dialects.

Here's the breakdown: