The object is to play against the dealer (house) to get as close to 21 as possible without busting (going over 21).
You try to get close to 21.
A man is attempting to score a basket against the oppossing team he is playing against.