Why do people have pets

... because they like them.

Is this really a science homework question?