PDO is a PHP construct which can be used with an integration with MySQL database. PDO is a sophisticated and secure practice to avoid malicious attacks such as SQL Injection. It's very beneficial tool for error reporting, named and unnamed placeholders and flexibility of usage.
to quote from official PDO