The study of the composition of brown dwarf atmospheres helped to understand their formation and evolution. Similarly, the study of exoplanet atmospheres is expected to constrain their formation and evolutionary states.