Corner kicks are awarded when the defending team last touches the ball before it crosses their goal line, allowing the attacking team to kick from the corner toward the goal.