Bristol Myers Squibb interview question

How does a random forest decide which features are the most important?