This allows a router, for example, to know where to send the data back to. This makes your device recognisable to other devices in your network, so that the data traffic between those devices is managed properly.
A MAC address is a unique identification number, which is the network module in your device, with which you can connect to the Internet.