A cat is laying on the table under a book in the shelf. 
a cat laying on top or s shelf in front of a window
A cat is sleeping on top of a desk.
A cat sitting on top of a shelf by a computer.
There is a cat lounging on a bookshelf