All interview questionsWhat is the purpose of a root layout?BeginnerAnswerIt defines the top-level document structure and shared UI, including html and body elements, for App Router pages.