How are fruit pastilles made?

Can you answer this question?