What are the differences between k-nearest neighbor and k-means clustering?

If you can, answer the question below: Write your answer in the comment box.
What are the differences between k-nearest neighbor and k-means clustering?