Certificate Pinning validates the correct server connection by recording the correct site certificate. It prevents interception of sensitive information. Logging on to a website (you are unaware) that's passing all of the information exchanged between you and the website to a criminal via an intermediary.