Haha yeah I remember how confusing all that was in the beginning.
The contracts are the main "story", and tasks are kind of side missions.
There is actually a merit to doing some tasks before tackeling the contracts though! Usually all the obstacles like landslides and broken bridges are tasks.
Hope you have lots of fun on your coming journeys!