The origin of brown dwarfs is at the heart of current debates, being the "star-like formation" or the "planet formation within a protostellar disk and subsequent ejection" the most promising scenarios. The recent observational efforts to search, identify and characterize brown dwarfs that are still embedded in their molecular clouds will be presented. Updated correlations of protostellar properties such as mass infall rate or outflow momentum rate with bolometric luminosity down to the planetary boundary will be presented as well, which constitute a classical test to distinguish among scenarios. Finally, evidence of a particular underproduction of low-mass BDs in Ophiuchus compared to Lupus and Taurus will be shown, and possible explanations for this behavior will be discussed, including heating of the Ophiuchus cloud by the nearby OB stars. Final conclusions will be provided with the information gathered so far, including the possibility that the planetary-mass regime of the initial-mass function is subtly shaped by stellar feedback and dynamical interactions within protostellar disks. |