The dog was placed in a confinement.
If you need a better explanation just as in the comments.
Happy to help! Please mark as BRAINLIEST! Thanks