Per IRS Publication 526 Charitable Contribution:
A charitable contribution is a donation or gift to, or for the use of, a qualified organization. It is voluntary and is made without getting, or expecting to get, anything of equal value (page 1).
Generally, you can deduct contributions of money or property you make to, or for the use of, a qualified organization. A contribution is "for the use of" a qualified organization when it is held in a legally enforceable trust for the qualified organization or in a similar legal arrangement. The contributions must be made to a qualified organization and not set aside for use by a specific person.
Per IRS Publication 526 Charitable Contributions:
You can deduct your contributions only if you make them to a qualified organization. Most organizations, other than churches and governments, must apply to the IRS to become a qualified organization.
You can ask any organization whether it is a qualified organization, and most will be able to tell you. You also can check by going to IRS.gov/TEOS. This online tool will enable you to search for qualified organizations (page 2).