What is the purpose of button groups?

Button groups are used for the placement of more than one buttons in the same line.