Abstract: The first part contains introduction to statistics in particle physics. The method for identifying jets from b quarks called b tagging is introduced and explained in detail. Several b-tagging algorithms are described. Second part covers the author's own research activity: the effect of misalignment on b-tagging performance. Several alignment scenarios are compared in this study.