Etymology
Today it means: An expression of gratitude. Full definition →
Compound of thank + you.
Etymology from Wiktionary, CC BY-SA 4.0.