What is the 3 point rule?

In basketball, there is a 3 pointer line, beyond which a player gets 3 points instead of 2 if he nets. It gets more difficult to score when someone is standing far from the rim.