Frames allow dividing a browser window into multiple sections. A frameset defines how the window is divided into rows or columns of frames. Each frame displays a separate HTML document. The document provides two examples of using the <frameset> tag - one with rows to create horizontal frames and another with cols to create vertical frames. Each <frame> tag specifies an HTML document to load into that frame section.