The ball hit the window and Bill caught it.
Who is "it"?
The ball