After a little checking, here was what I found:
There are two companies, GoGo Internet and Row 44, that most airlines are using to provide airplane WiFi service. GoGo Internet uses a ground based cellular data network for data communications and Row 44 uses satellite communications.
Illustrations demonstrating how wi-fi works on a plane can be found here – wlan book