Nowadays, there are many different ways to connect to the Internet. Suppose your friends don't have a WiFi or mobile connection, but you do. Then you can share your internet connection, so that they can connect. This is especially useful when travelling. Find out how to share your connection on an iPhone here.