Is K Nearest Neighbor Unsupervised?

Is K Nearest Neighbor Unsupervised? k-nearest neighbour is a supervised classification algorithm where grouping is done based on a prior class information. K-means is an unsupervised methodology where you choose “k” as the number of clusters you need. The data points get clustered into k number or group. Is K-means supervised or unsupervised? K-means is