Raoellids, like the Indohyus depicted in the illustration lived on land eating mostly plants. But examination of their skull and ear bones shows striking similarities to whale anatomy. Further, Isotopic evidence suggests these creatures took to the water often, possibly in search of prey.
Source: Nature.com
Illustration by Carl Buell