The act of giving up control of the ball to an opponent's team before attempting to score is known as a turnover in basketball.