GE Vernova interview question

What can GPIO pins on a RaspberryPi be used for?