  Heavy quarks produced in pp and heavy ion collisions are studied using
heavy-flavour decay electrons and heavy-flavour mesons. Detailed understanding
of the production processes and fragmentation of heavy quarks can be obtained
by studying the azimuthal angular correlation of heavy-flavour hadrons. The
azimuthal angular correlations of heavy-flavour mesons and charged hadrons can
be used to disentangle charm and beauty-hadrons in pp collisions. In this
contribution the fraction of electrons from beauty-hadron decays in the
heavy-flavour decay electron yield is shown as well as the beauty production
cross section in pp collisions at $\sqrt\textrm{s}$ = 2.76 TeV. The
measurements are compared to the predictions from next-to leading order
perturbative QCD calculations. We also show the results from correlation
analysis of charged $\mathrm{D}^{*}$ mesons and hadrons performed using pp
collision data at $\sqrt{\textrm{s}}$ = 7 TeV.
