for what purpose or reason? 为何目的;为何理由
What is this tool for?
这个工具是干什么用的?

What did you do that for (= why did you do that)?
你为何做那事?

‘I need to see a doctor.’ ‘What for?’
“我得去看医生。” “看什么病?”