BaryTech interview question

difference between CMD and Entrypoint in docker file