A pattern is any correlation between the states of elements within a system. A pattern is formed from a set of elements where the state of any one element can be defined in relation to others through some correlation.