Dogs roll on cockroaches to spread their scent. This helps them mark their territory and keep other dogs away.