Cockroaches are evolutionary masterpieces, possessing specialized biological traits and resilient behaviours that have allowed them to survive five mass extinctions.