According to Hindu mythology, Rishi Agastya drank the entire ocean to expose the demons hiding within it. This happened during the churning of the ocean (Samudra Manthan) when the demons had hidden in the waters. Agastya's act allowed the gods to defeat the hidden enemies.