Databases guess how many rows a query will return, then choose a plan from the guess. This one shows you the guess, every plan it considered, and what actually happened.
It needs JavaScript, because it contains its own database engine: storage, a B-tree index, statistics collected from a sample, selectivity estimation, a cost model, Selinger plan enumeration and a volcano-model executor. Nothing is sent anywhere; there are no network requests at runtime.