Pergunta de entrevista da empresa Directi

Why do we have public and private IP's?