phone directories where do they get their information and list of phone numbers

where do phone directories get their info?