"Beggar" vs. "panhandler": words with a shared story

What is similar?
Both "beggar" and "panhandler" refer to a person who asks or solicits money, typically in public places, often by holding out a container or performing actions to get the attention and charity of passersby.
What is different?
The term "beggar" is more traditional and general, often implying someone in poverty seeking help. "Panhandler" is more specific to those who actively and persistently ask for money, often seen in urban environments.
Which one is more common?

Examples of usage
Beggar- The old beggar sat at the corner with his hand outstretched.
- Many beggars in the city rely on the charity of strangers for survival.
- The panhandler approached us asking for spare change.
- In some cities, being a panhandler without a permit is illegal.