What is the difference between swarm and kubernetes?


I am interested a different tools around docker and i meet difficult understand the difference between docker swarm and kubernetes.

For me, these tools are orchestration tools which doing the same things. (run container though multiple docker host)

Correct me please if i wrong.

Thank’s for your answers.