In the US it differs from state to state. In some states it's illegal to listen to police frequencies while committing a crime, for example, but otherwise OK. So definitely check the laws that apply in your jurisdiction. Also there are some things you'll learn through practice, for example it's considered poor scanning "form" for beginners to sit on a police frequency and call out the action to whoever's around. People with scanners are usually only doing that with emergencies like wildfires, tornado weather, etc.
Radio licenses (in the US) apply mostly to transmission, i.e. talking into a radio on a given set of frequencies. For example, if you want to talk to ham radio operators through a transceiver (a radio that can receive AND transmit) like this one you will need to get a Technician-level ham license in the US, which is fortunately pretty easy. But if you just like how the transceiver looks and don't intend to talk, you can also buy it and use it for listening only.
There are usually some license-free radio transmission opportunities too, for example in the USA with FRS (Family Radio Service)--usually little Cobra or Midland walkie talkies or consumer-looking radios like these and CB (Citizen's Band) radios which come in various types but the handhelds tend to be a bit larger. FRS and CB radios are "channelized," meaning you can't just type in a frequency; you have to select a channel on which to talk, which corresponds to a hard-coded frequency within the radio. FRS and GMRS (this one is a no-test license you can buy for your whole family for I think $70 USD for 10 years) are increasingly being used for things like neighborhood watch and neighborhood emergency preparation. But you may hear kids or businesses on there too.
I can personally recommend the ham license as a great start if you're interested in radio at all. It's basically a free education on radio in general, and the test only costs $15 here in the US. With the ham license you get free range over a broad set of frequencies and lots of opportunities to learn, listen, and talk locally, regionally, internationally, via amateur radio satellites, or with astronauts on the ISS, or using special digital modes over the internet and interconnected mountaintop repeaters (really nice for lazy folks like me). You also get access to a community of people who generally pride themselves on good operating practice, so it's pretty easy to find people who are casual, interesting, and helpful. For shy folks there are modes that are essentially text chat, and the CW / morse code world is a famous bunch of introverts. But even if you just want to listen, the license is worth it IMO because of everything you can learn about radio.
I'm with others in saying that a small, dedicated unit will be "better", but I personally own the Uniden. With a magmount and a 12V cigarette plug, it works great! The only downside is that when you turn the unit off, it reverts to Ch9. I listen to 19, so every time I turn it on, I have to click up 10 channels. Big deal...
Aside from that small gripe, the Uniden has been an excellent little radio. I didn't NEED a handheld when I made my purchase, but it is nice knowing I could go truly mobile with the rubber duck and batteries if I had to. Remember you will need an adapter to go from the small connection at the radio, to the larger fitting on the magmount antenna. Here is the one I purchased.
FireStik AR-3 Coax Adapter, UHF PL-259 to BNC https://www.amazon.com/dp/B00JYHRFUI/ref=cm_sw_r_cp_apa_i_K6jbBbD3WKXKM
On a side note, I did install a small 35W linear amplifier to help "get out" a bit better. I always get excellent copies when I use it, and would recommend it in tandem with the handheld, as I was only getting 2.2W output on my meter when speaking into the radio (swinging). Using it car to car under 1/2 mile should be no issue running the radio barefoot, but it is something to consider.
Hope this information helps!
-Uniden PRO401HH
Uniden PRO401HH 40 Channel Handheld CB Radio https://www.amazon.com/dp/B00N43KM5S/ref=cm_sw_r_cp_apa_i_W3jbBb741Z69J
-K40 K-30 MagMount Antenna
K40 K-30 35" 300 Watts Stainless Steel Magnet Mount CB Antenna https://www.amazon.com/dp/B000H2W270/ref=cm_sw_r_cp_apa_i_U2jbBbVEFPAF4
-RM Italy KL-35 Linear Amplifier