Why URLs need encoding
URLs may only contain a limited set of ASCII characters, and some of those have a job: ? starts the query string, & separates parameters, = joins a name to its value and # starts the fragment. If a value you put in a URL contains one of these characters, it has to be percent-encoded, or the browser and server will read it as structure instead of data.
For example, encoding the value a b&c/d gives a%20b%26c%2Fd, which can safely be placed after ?q= in a link.