You thank a person who has performed something for you.