$.fn.extend() and $.extend() are two ways jQuery provides arches for extensions
jQuery.extend() is generally used to extend tool functions (also known as class-based extensions)
jQuery.fn.extend() is generally used to extend custom plugins, i.e. plugins used on jQuery instances (object-based extensions)