What am I?

I spend the day at the window, go to the table for meals, and hide at night. What am I?