What is the objective of hockey?

Ice hockey is a sport played by 2 opposing teams. The objective is for a team to score more goals than their opponents. Goals are scored by shooting a puck into the opposing team's net.