Quick DynamicLight question

the global “DynamicLight” is different form the “light_dynamic” entity itself. How does the DynamicLight function work? I mean, what does it do to the light_dynamic entity? I couldn’t find the lua file for DynamicLight anywhere in the Garry’sMod Content. Please help.

It’s defined in the engine.

Really? It’s not defined in the gmod content? Because the actual source entity at https://developer.valvesoftware.com/wiki/Light_dynamic is quite a bit different…