Can you text on an IPhone 5 without wifi?

I am thinking about an IPhone 5 in August, I have an IMessages on my IPod touch when I am in the car I can't send messages. Will the IPhone 5 do that too?

Yes, if you have a cell phone plan

For imessages to work you need to be connected to the internet either by Wi-Fi ( for your iPod) or with 3G or 4G on your iPhone