Exploring SQLMAP

What is SQLMap, and how to use it to exploit a web application?