A contract means that you have do something for someone or they have to do it for you. A license means that you are allowed to do something, like driving, that someone else is not allowed to do.