You're probably thinking of ceviche, a dish in which the shrimp is "cooked" by the juice of citrus fruit. Raw seafood is marinated in citrus juice, usually lemon or lime, causing the protein to become denatured, which gives the seafood the appearance of being cooked. This method does not kill any bacteria, etc. which may be present in the seafood.