Pill bugs (also known as Roly polies, Potato bugs, etc.) are not insects but are closely related to shrimp and other crustaceans. They also have gills.