A thought experiment is an over simplified theoretical "thought" situation where the mysteries of physics can be explored. There have been many famous thought experiments through history. This one below is a modified version of a popular thought experiment involving a photon clock and a fast spaceship. In this version, light bounces between two ships instead.
The original uses "clocks" that look like this:

and like this when in motion: