DTAA are treaties between two countries to avoid double tax on income accrued to resident of one country earned in another country.
Ex: X resident of US provide Marketing Services in US for a company Incorporated in India. And Service charge is paid in USD. Such income is taxable only in US.