K-Means splits your points into k groups, and you have to pick k yourself.
It starts by dropping k centres at random positions.
Every point joins whichever centre is nearest.
Each centre then moves to the middle of the points that joined it.
Those two steps repeat until nothing moves any more.
It always finishes, but not always in the same place.
A different random start gives a different answer, so tools run it several times.
It assumes clusters are round, similar in size and similar in density.
Real groups are often long, thin or nested, and it handles those badly.
It also forces every point into a cluster, including obvious outliers.
Features must be scaled, because it works entirely on distance.
Choosing k is the awkward part, and there is no correct answer.
The elbow method plots error against k and looks for the bend.
The silhouette score measures how well each point fits the group it landed in.
Both are guides rather than verdicts, and looking at the clusters still matters most.