How does AC travel through wires?
"How does A.C travels through wires?"

Almost exactly like DC, except that it goes back and forth.

"How is that A.C can travel miles and miles while D.C can't?"

Your assumption is wrong. For lines that are short compared to the AC wavelength both AC and DC are equally limited by Ohm's law and its consequences. For lines that are not short compared to the AC wavelength AC incures extra losses. Hence for trasnport ofver very long distances AC is sometimes converted to DC at the source, and converted back to AC at the destination. AC is (otherwise) preferred because it is far easier to convert to a different voltage using a transformer.