Pets are great company when you are lonely

Why are pets such great company when you are lonely?