Subject to the limitations contained in this chapter, the tax imposed by section
2501 shall apply whether the transfer is in trust or otherwise, whether the gift is direct or indirect, and whether the property is real or personal, tangible or intangible; but in the case of a nonresident not a citizen of the United States, shall apply to a transfer only if the property is situated within the United States.