Lemma (zeroth homology group and path components)

Let $K$ be a simplicial complex.

There is an isomorphism $H_0(K)$${}\isom \Z\set{\text{path components of }|K|}$ by sending a vertex of $K$ to its path component.

Proof