The <div> tag is nothing more than a container unit that encapsulates other page elements and divides the Html document into sections. Web developers use <div> elements to group together Html elements.
The <div> inside <div> elements helps to create subdivide to create different kind of layout in a web document. This concept is the foundation of which most web pages are now built. Html documents that are properly divided and subdivided are easy to maintain and modify.