In a nutshell
k-nearest-neighbours labels a new point by looking at the labelled examples sitting closest to it and taking a majority vote. There's no training step at all — it just stores the data and measures distances when a question arrives. A small k follows the nearest few closely; a larger k averages over a wider neighbourhood.