It is a text file with the .m (or .wl) extension that contains function definitions, and adheres to certain conventions. It can be loaded with Needs or Get to make the functions available for use.
replaced http://mathematica.stackexchange.com/ with https://mathematica.stackexchange.com/