Why do we wrap plugin source code with function($)??

Why do we wrap plugin source code with function($)??

The document on jQuery official site documentation metion nothing about it but yet everyone wrap it like that.
(function($) {

//plugin code
})(jQuery);




I make my own plugin without wrapping it, it still works.
So what is this about?