IBM interview question

Explain how TCP works ?