Please help me "dissect/understand" this basic RMMV JS plugin?

I will give you the code that I have copied (except in the beginning which I have altered.) I understand the beginning but find it difficult to understand inside the "function" method. I have added questions to the places I don't understand as a comment.

JavaScript:
/*:
*@author Gene
*@plugindesc desc Testing 123
*@help helping testing

*@param paramTest
*@type text
*@default heyheyhey
*/

(function(){

    var params = PluginManager.parameters("window_mine");
    var text = params["paramTest"];

    var lh = Window_Base.prototype.lineHeight() * 2;

    function My_Window() {
       this.initialize.apply(this, arguments); //What exactly does this do?
    }

    My_Window.prototype = Object.create(Window_Base.prototype);
    My_Window.prototype.constructor = My_Window; //Why assign itself to the prototype constructor?

    My_Window.prototype.initialize = function(){
        Window_Base.prototype.initialize.call(this, 0, 0, Graphics.boxWidth, lh); //where is the "initialize" function in the Window_Base class?
        this.refresh();
    }

    My_Window.prototype.refresh = function () {
        this.contents.clear();
        this.drawText(text, 0, 0);
    }

    var smstart = Scene_Map.prototype.start;
    Scene_Map.prototype.start = function () {
        smstart.apply(this, arguments);
        this.my_window = new My_Window(); //Why create this variable "my_window"?
        this.addChild(this.my_window); //What does the "addChild" function do?
    }



console.log(text);


})();

Please help me understand these. Also please help me understand what "apply/call" do.
I'll number the answers in order that the questions appear in the comments.
1. That basically is calling the function initialize on itself, passing whatever arguments you call the constructor with.
2. Because when you override the prototype to a new object, its constructor is changed to that object's constructor. So you are redefining it.
3. That should be in rpg_windows.js
4. So you can access the window object within that scene and other objects.
5. Adding the window as a child allows the window to be registered to be displayed and have its update function ran when the scene is updated.

Call and Apply are very similar. They invoke a function/method with a specific "this" context, the only difference really is Call requires you to pass the arguments one by one, and apply you pass them as an array.
I have explanations for you to understand.

Window_Base
Parent class for all windows
I created a window with a new name, but the whole structure is within Window_Base.
For example
My_Window
My_Window1
My_Window2


This window is copied with the prototype of Window_Base as the main.
When you create your own window The need to peel the original

Original thread: https://forums.rpgmakerweb.com/threads/please-help-me-dissect-understand-this-basic-rmmv-js-plugin.124078/