Baka or Bakāsura was a rākṣasa (demon) who lived near the small town Ekacakranagara. Since he used to attack the town and eat up the human beings there, the residents of the town had made an agreement with him to supply food and one adult human being every day from among them, by turns. When the Pāṇḍavas were living there after being exiled, Bhīma (the second of the Pāṇḍava brothers) managed to kill him, thus ridding the town of a great menace (vide Mahā-bhārata, Ādiparva-163).

The Bhāgavata (10.12) mentions of another demon Baka (in the form of a crane) who was killed by Kṛṣṇa.