To express appreciation or gratitude toward (someone or something).
She thanked him for the lift.
In the future tense in the form one will thank someone to do something, chiefly expressing a command or criticism: to request that (someone) do something.
I'll thank you not to smoke in my house!
To express appreciation or gratitude for (something).