What is the difference between functional and non-functional testing?

What is the difference between functional and non-functional testing?

Functional Requirement asked the question - “WHAT” whereas Non-functional requirement asked the question - “HOW”.
Functional Requirement is the verification that the software executes actions whereas Non-functional requirement helps to verify that whether customer expectations are being met or not.