A demonstration of the concept of correlation