Why The Heck Do Animals Live In Our Houses?

How did a dog get on my bed?