Strikers are primarily offensive players and do not typically play defense. However, in modern soccer they are often expected to contribute to defensive duties.
They may be called upon in certain situations, such as defending set pieces or pressing opposing defenders to disrupt their play, force errors, or regain possession.
That said, their involvement in the defense will depend on the team’s overall tactical approach.