.dny vs .mod file

Dear all,

What is difference between .dyn and .mod file? And how to run .dyn file in dynare?

Best,

Jan