Centroid represents the center point of the cluster and is used in machine learning algorithms such as k-means clustering.The centroid of a triangle is the point where the three medians intersect.The centroid of a circle is the center of the circle.The centroid of a set of data points in a machine learning algorithm is the point that is equidistant from all the data points.