These were Cell's "children" that emerged in the middle of the Cell games.
The little monsters served no purpose but to pick on Gohan's feelings.
They were apparently as strong as their daddy. They could easily hurt Super Saiyans.
I was glad to see Gohan to destroy them.