If a player is fouled while attempting a shot and the shot is unsuccessful , the player is awarded a number of free throws equal to the value of the attempted shot .
If you foul someone on the other team while he is shooting the basketball , the player who was fouled gets to shoot `` free throws '' from the `` foul line '' .