What Was the Purpose of Going into Muslims Countries During the Crusades?

I made this thread so as not to derail the Crusades history.