The legal animals that can be kept as pets vary depending on the country, state, and local regulations. Generally, common pets like dogs, cats, fish, birds (such as parrots and canaries), rabbits, guinea pigs, hamsters, and gerbils are allowed in most places. It is important to check with your local animal control or pet ownership regulations to ensure compliance with the law. Exotic animals like snakes, hedgehogs, ferrets, and certain species of birds may have specific restrictions or requirements.