Pregunta de entrevista de GE Vernova

What can GPIO pins on a RaspberryPi be used for?