jQuery is a JavaScript library used for various purposes including web page manipulation, HTML element transferral, CSS class manipulation, and animation.