I read that if I give a gift of $10,000 to my daughter that I can't take a tax deduction? If this is true why is there a rule of gift giving? I am confused.

I don't understand why there is a gift tax if no tax deductions are available to the donor.  What is the purpose of a Gift Tax?