URL encoding converts characters that are not allowed in URLs into their corresponding
percent-encoded values. This is necessary when sending data through URLs, especially when
dealing with special characters, spaces, or non-ASCII characters. For example, a space becomes
"%20", "+" becomes "%2B", and "/" becomes "%2F". URL decoding converts these percent-encoded
values back to their original characters.