Instruction: Describe what portals are in React and how they can be used effectively in an application.
Context: This question assesses the candidate's knowledge of React portals, focusing on their use cases and benefits for rendering components outside the DOM hierarchy.