Complex sentence: Idak is a village in North Waziristan, Federally Administered Tribal Areas, Pakistan and lies close to the border with Afghanistan.
Split into simpler sentences: Idak is a village in North Waziristan, Federally Administered Tribal Areas, Pakistan. And lies close to the border with Afghanistan.