Brac University interview question

Explain the handshaking protocol in TCP