Question from the React Native (Legacy) test

What is the use of the `useNativeModules` hook in React Native?