When people say that Facebook "sells your data," they're (charitably) engaging in hyperbole to strengthen their rhetorical point, or (less charitably) lying. Facebook shows ads to the users they're targeted to, without sharing the users' details or identities with advertisers.