Which two factors determine both climate and weather?

temperature and weather