In mathematics, a group is a kind of algebraic structure. A group is a set with an operation. The group's operation shows how to replace any two elements of the group's set with a third element from the set in a useful way. A familiar example of a group is the set of integers with the addition operation.