Well, besides firing pins you mean. LOL
Roll pins are hollow tubes with a split along one side, kind of a round spring that can be used to make up for slightly oversized holes in frames and the like. To remove a roll pin a special punch should be used of the correct diameter and having a tit that fits into the opening of the roll pin. If a regular punch is used they, sometimes, can get caught in the roll pin opening. Bad news then.
Most pins are solid and can be removed with any correct size punch. And there are some of those do not need a punch to remove them. The hammer and sear pins on a 1911 type pistol are held in place by the thumb safety and can be removed w/o a punch once the thumb safety is removed for example.
I hope this helps.