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