What is the need of element in the SOAP document?

The element is used as the root element of every SOAP message.

The Root element is known as the first element in the XML Document.

The envelope, in turn, separated into two parts. One is the header part and second is the body part. The header contains the routing data which stores the source and destination address of the client. So the body includes the actual data.