Pill bugs, also known as roly-polys, are not insects but rather crustaceans. They breathe through gills and are more closely related to shrimp and lobsters than other bugs. – WTF Fun Facts
Source: https://www.scientificamerican.com/article/springtime-science-whats-home-sweet-home-to-a-bug/