Facebook collects personal information about users and feeds this data into "FBLearner Flow," an internal machine learning tool. FBLearner Flow runs a branching "decision tree" simulation that can be used to predict outcomes such as customer behavior. Facebook takes the results from FBLearner Flow and aggregates them into a group of people who are expected to behave similarly. Facebook offers companies the opportunity to target these people with ads.