All bequests, legacies, devises, or gifts to or for the use of any corporation, organization, association, society, institution, or foundation, organized and operating exclusively for religious, charitable, public, scientific, or educational purposes, no part of which is owned or used for financial gain or profit, either by the owner or user, or inures to the benefit of any private stockholder or individual, or to a trustee or trustees exclusively for such religious, charitable, or educational purposes shall not be subject to any tax under the provisions of sections 77-2001 to 77-2006, and any amendments thereto, if any of the following conditions are present:
(1) Such corporation, organization, association, society, institution, or foundation is organized under the laws of this state or of the United States, or
(2) The property transferred is limited for use within this state, or
(3) In the event that the corporation, organization, association, society, institution, or foundation is organized or existing under the laws of a territory or another state of the United States or of a foreign state or country, at the date of the decedent's death either of the following occurred:
(a) The territory, other state, foreign state, or foreign country did not impose a legacy, succession, or death tax of any character in respect to property transferred to a similar corporation, organization, association, society, institution, or foundation, organized or existing under the laws of this state, or
(b) The laws of the territory, other state, foreign state, or foreign country contained a reciprocal provision under which property transferred to a similar corporation, organization, association, society, institution, or foundation, organized or existing under the laws of another territory or state of the United States or foreign state or country was exempt from legacy, succession, or death taxes of every character, if the other territory or state of the United States or foreign state or country allowed a similar exemption in respect to property transferred to a similar corporation, organization, association, society, institution, or foundation, organized or existing under the laws of another territory or state of the United States or foreign state or country.