Pioneers were originally part of the artillery branch of European armies.
They formed part of the engineering branch, the logistic branch, part of the infantry; or even comprised a branch in their own right.