The main purpose of this work is to study metal-molecule interactions that can leadto the production of molecular hydrogen. Two systems were chosen for this analysis: yttriumatom and clusters interacting with the simple electron donor ammonia (NH3) and copper atomsand ions with imidazole. For yttrium with ammonia as well as for copper with imidazole there isa charge-transfer process from the metal to the molecule that promotes the dissociation of thehydrogen atoms.