What is a model in the scientific sense?

a. What is a model in the scientific sense?
b. How does a model differ from a theory?