Should add more clarification on specific questions, just asking about how wifi works is far too broad. If you want a good book though
http://www.amazon.com/Next-Generation-Wireless-LANs-802-11ac/dp/1107016762