Aims. We report the derivation of abundances of C, Na, Mg, Si, Ca, Sc, Ti, V, Cr, Mn, Fe, Co, Ni, Cu, Zn, Sr, Y, Zr, Ba, Ce, Nd, and Sm in a sample of 25 solar-type stars of the solar neighbourhood, correlating the abundances with the stellar ages, kinematics, and orbital parameters. Methods. The spectroscopic analysis, based on data of high resolution and high signal-to-noise ratio, was differential to the Sun and applied to atomic line equivalent widths supplemented by the spectral synthesis of C and C 2 features. We also performed a statistical study by using the method of tree clustering analysis, searching for groups of stars sharing similar elemental abundance patterns. We derived the stellar parameters from various criteria, with average errors of 30 K, 0.13 dex, and 0.05 dex, respectively, for T eff , log g, and [Fe/H]. The average error of the [X/Fe] abundance ratios is 0.06 dex. Ages were derived from theoretical HR diagrams and membership of the stars in known kinematical moving groups.