Many people like to give thanks at this time of year by donating to their favorite charities. Here are the basic 2022 rules for charitable contributions and gifts to loved ones.