Referring to a Spiro piperidine derivative and piperidinona pyrrolidone Compound of formula (i), where m, N and P are 1 or 2 r1 is H, c1-c4 alkyl, alkoxy C1 - C4 - CF3, c1-c4 alkyl R2 is H, halogen, c1-c4 alkyl, CF3 R3 is H, c1-c4 alkyl, alquiloxicarbonilo C1 - C6, among others.Preferred compounds are: Tert Butyl ester acid, 2 - (2 - methyl - 4 - ((2R, 3 s) - 2 - methyl - [1,3] bipirrolidinil - 1 - yl) - phenyl] - 2 - oxo - 2.8 - Grabarsky, ITs The Wrong Guy spiro [4.5] Dean - 8 - carboxylic acid tert butyl ester, acid, 2 - (2 - methyl - 4 - ((2S, 3 s) - 2 - methyl - [1,3] bipirrolidinil - 1 - yl) - phenyl] - 2 - oxo - 2.9 - Grabarsky, ITs The Wrong Guy spiro [5.5] UNDECANE - 9 - carboxylic acid ester, Tert Butyl 2 - (4 - [4 - (2S) - 2 - methyl - pyrrolidin-1-yl) - piperidinil - triazin-1-yl] - phenyl) - 1 - oxo - 2.8 - Grabarsky, ITs The Wrong Guy spiro [4.5] Dean - 8 - carboxylic acid, among Others. It also relates to a Pharmaceutical composition.These compounds are modulators of the histamine h3 receptors and are useful in the treatment of Sleep Disorders, multiple sclerosis, Cognitive Disorder, dementia, among othersREFERIDA A UN COMPUESTO DERIVADO PIPERIDINA ESPIRO PIRROLIDONA Y PIPERIDINONA DE FORMULA (I), DONDE m, n Y p SON 1 O 2 R1 ES H, ALQUILO C1-C4, CF3, ALCOXI C1-C4-ALQUILO C1-C4 R2 ES H, HALOGENO, ALQUILO C1-C4, CF3 R3 ES H, ALQUILO C1-C4, ALQUILOXICARBONILO C1-C6, ENTRE OTROS. SON COMPUESTOS PREFERIDOS: ESTER TERC-BUTILICO DE ACIDO 2-[2-METIL-4-((2R,3S)-2-METIL-[1,3]BIPIRROLIDINIL-1-IL)-FENIL]-1-OXO-2,8-DIAZA-ESPIRO[4.5]DECANO-8-CARBOXILICO, ESTER TERC-BUTILICO DE ACIDO 2-[2-METIL-4-((2S,3S)-2-METIL-[1,3]BIPIRROLIDINIL-1-IL)-FENIL]-1-OXO-2,9-DIAZA-ESPIRO[5.5]UNDECANO-9-CARBOXILICO, ESTER TERC-BUTILICO DE ACIDO 2-{4-[4-(2S-2-METIL-PIRROLIDIN-1-IL)-PIPERIDINIL-1-IL]-FENIL}-1-OXO-2,8-DIAZA-ESPIRO[4.5]DECANO-8-CARBOXILICO, ENTRE OTROS. TAMBIEN ESTA REFERIDA A UNA COMPOSICION FARMACEUTICA. DICHOS COMPUESTOS SON MODULADORES DE LOS RECEPTORES H3 DE HISTAMINA