Penalty kicks take place when a teammate commits a serious offense or makes dangerous play. Referees award penalties to the opposing side when a player commits a serious foul or dangerous play. The referee gives the opposing side a penalty kick. This allows them to score a goal if the ball is in the goal before the clock runs out.