A pattern is a regularity in the world, in human-made design, or in abstract ideas. It can be a geometric arrangement of lines, shapes, or colors, or a particular way in which something is done, organized, or happens. In math, a pattern is defined as a sequence of repeating objects, shapes, or numbers, with a rule that determines which objects belong to the pattern. Patterns can be found in nature, art, behavior, and various other fields