Arm interview question

How SPI communication protocol works?