The three pairs of legs present in a cockroach allow it to run very fast. The body of a cockroach is covered with a hard exoskeleton made up of different units joined together. This helps the cockroach in its movement. Two pairs of wings are also attached to its breast. They allow the cockroach to fly short distances. Hence, a cockroach can walk, climb and fly.