org-babel is an extension of GNU EMACS org-mode, for executing and evaluating source code from within org-mode documents. Along with org-mode exporting facilities, it can be effectively used for multi-languages literate programming and reproducible research.
Useful Links:
Babel: active code in Org-mode
How to Use Emacs Org-Babel Mode to Write Literate Programming Document in R Language