Analog Devices interview question

How UART, SPI Works and it's operations