The "vein" running along the back of the shrimp is actually its digestive tract. It's not harmful to eat, but most cooks prefer to remove it.