SpiderMonkey is written in C and contains compiler, interpreter, decompiler, garbage collector, standard classes etc. It does not itself provide host environments such as Document Object Model.
It is supposed to be embedded in other applications that provide host environments for JavaScript. The most popular application is Mozilla.
External link