Where and how does WordPress store and use its plugin and hook information?

WordPress stores the currently active plugins in the options table under the key active_plugins.

Hooked actions and filters aren’t stored anywhere, plugins must add their hooks on every request, otherwise they don’t exist.