These are two of 8 (4 pairs) of walking legs. Each walking leg has an attached gill that occupies the animal's branchial chamber.