Synsoft Global interview question

Explain high order components? Difference between functional and class based components?