What is the purpose of using the $_GET superglobal in PHP?

The $_GET superglobal in PHP is used to collect form data after submitting an HTML form with the method="get". It allows you to retrieve data from the URL parameters, making it useful for passing data between pages or handling simple form submissions. You can access the data using keys that correspond to the form input names.

```php
// Example of using $_GET superglobal to retrieve form data
if(isset($_GET['name'])) {
    $name = $_GET['name'];
    echo "Hello, $name!";
}
```
In this example, we check if the 'name' parameter is set in the URL using isset(). If it is set, we retrieve the value using $_GET['name'] and then display a personalized greeting.