A bstract Modifications of the properties of jets in PbPb collisions, relative to those in pp collisions, are studied at a nucleon-nucleon center-of-mass energy of $$ \sqrt{s_{\mathrm{N}\;\mathrm{N}}}=5.02 $$ <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"> <mml:msqrt> <mml:msub> <mml:mi>s</mml:mi> <mml:mrow> <mml:mi>N</mml:mi> <mml:mspace /> <mml:mi>N</mml:mi> </mml:mrow> </mml:msub> </mml:msqrt> <mml:mo>=</mml:mo> <mml:mn>5.02</mml:mn> </mml:math> TeV via correlations of charged particles with the jet axis in relative pseudorapidity (Δ η ), relative azimuth (Δ ϕ ), and relative angular distance from the jet axis $$ \varDelta \mathrm{r}=\sqrt{{\left(\varDelta \eta \right)}^2+{\left(\varDelta \phi \right)}^2} $$ <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"> <mml:mi>Δ</mml:mi> <mml:mi>r</mml:mi> <mml:mo>=</mml:mo> <mml:msqrt> <mml:mrow> <mml:msup> <mml:mfenced> <mml:mrow> <mml:mi>Δ</mml:mi> <mml:mi>η</mml:mi> </mml:mrow> </mml:mfenced> <mml:mn>2</mml:mn> </mml:msup> <mml:mo>+</mml:mo> <mml:msup> <mml:mfenced> <mml:mrow> <mml:mi>Δ</mml:mi> <mml:mi>ϕ</mml:mi> </mml:mrow> </mml:mfenced> <mml:mn>2</mml:mn> </mml:msup> </mml:mrow> </mml:msqrt> </mml:math> . This analysis uses data collected with the CMS detector at the LHC, corresponding to integrated luminosities of 404 μ b −1 and 27.4 pb −1 for PbPb and pp collisions, respectively. Charged particle number densities, jet fragmentation functions, and jet shapes are presented as a function of PbPb collision centrality and charged-particle track transverse momentum, providing a differential description of jet modifications due to interactions with the quark-gluon plasma.