What are higher-order components in React?

Higher-order components in React is a wrapper function that is used to modify app behavior. It takes components and returns new ones. It is a way to build react components.