Bootstrap container is again a class that is used for creating an area in the center of the webpage to place the content. There are row elements which act as containers for columns thereby making a grid system. Rows are used for creating horizontal column groups. Using the function .container, you can get a responsive design, which will include all the other HTML code.