Typewise Interview Question

Differences between window and document objects?