You are here because you are not satisfied with the answers from other forums as they described it in detail and offcourse we don’t have time to read it at all.
You are still confused what they actually do and WHEN, right?
It means your document or page is capable of executing your javscript/jQuery functions.
alert("It will load as soon as document is capable of executing it");
alert("It will load after page is loaded");