Exchanges are required by law and regulations in the country where they are located to do KYC ("Know Your Customer"). This means that they need to know who their customers are and for that, they need your personal information. Governments make this mandatory so that they can combat money laundering and terrorist financing.