Elements of Photography:
The use of repetition to create an interesting photo.
Patterns are repetition of Shapes or Textures that are organized in a rhythmic way.
If you carefully look for patterns there are everywhere in nature and also in man-made things. By using these patterns you can compose a visually compelling image that keeps the viewer engaged.
Sometimes breaking this harmony or rhythm in pattern yields much better results by yielding a dynamic composition.