Wifi connections do not cost money. iMessage is an apple instant messaging ago that will work over either cellular data or Wifi. If the message bubbles are blue, they're iMessages. Sms messages are green.