The strawman fallacy creates a weaker version of an argument and then attacks it rather than attacking the argument itself.
Someone is advocating for gun rights after a school shooting occurred. The opposer to this view (in support of gun control) states, "How can you support firearms when children are dying? Do you not care about the safety of children in schools?"
The opposer has presented a misconstrued version of the argument, saying that supporting guns rights is supporting the deaths of children. This is not necessarily the case. It is possible that gun rights could keep children safe as well.