Throughout the game various characters around Berk will offer quests for you to complete.
Once you have completed all the quest objectives you will receive a reward of Fish, Wood, Runes or a combination of these.
It is very much possible to finish quests before they are even given.
This means that you have already accomplished that particular quest before the game will assign it.
Collecting the reward will complete that quest.