Network class is used to specify which Stellar network you want to use. Each network has a networkPassphrase which is hashed to every transaction id.
Stellar Networks
The network passphrase
Returns network id (SHA-256 hashed networkPassphrase).