What does a pyrotechnic do?

Can you answer this question?