Mechanics of K-means Clustering

Can you explain the working mechanism of the K-means clustering algorithm?

Answer Panel