TD interview question

what's the difference between functional testing and user acceptance testing