How many TCP segments are exchanged to establish and terminate TCP connection? | Networking

A three-way connection is required to establish the connection and a four-way connection is required to terminate the TCP connection.