JSONP, or JSON with Padding, is a method used to bypass the same-origin policy in web browsers, allowing a web page to request data from a server in a different domain. It works by dynamically creating a script tag with a source URL that returns JavaScript code, enabling cross-domain communication without the need for CORS support.