Kali (ˈkɑːliː; काली, ) or Kalika is a major Hindu goddess, she is associated with time, doomsday, and death in Shaktism. Kali is the first of the ten Mahavidyas in the Hindu tantric tradition.
Kali's earliest appearance is when she emerged from Durga. The goddess is stated to destroy evil in order to defend the innocent. Over time, Kali has been worshipped by devotional movements and Tàntric sects variously as the Divine Mother, Mother of the Universe, Principal energy Adi Shakti. Shakta Hindu and Tantric sects additionally worship her as the ultimate reality or Brahman. She is also seen as the divine protector and the one who bestows moksha, or liberation. Worshipped throughout India but particularly in Kashmir, South India, Bengal, and Assam, Kali is both geographically and culturally marginal.
Kālī is the zesty form of Kāla (an epithet of Shiva) and thus the consort of Shiva. The homonym (appointed time) is distinct from kāla (black), but these became associated through popular etymology. She is called Kali Mata ("the dark mother") and also kālī which can be read here either as a proper name or as a description "the dark or black one".
Although the word appears as early as the Atharva Veda, the first use of it as a proper name is in the Kathaka Grhya Sutra (19.7).
According to David Kinsley, Kāli is first mentioned in Hindu tradition as a distinct goddess around 600 AD, and these texts "usually place her on the periphery of Hindu society or on the battlefield."
Her most well-known appearance is on the battlefield in the sixth century text Devi Mahatmyam. The deity of the first chapter of Devi Mahatmyam is Mahakali, who appears from the body of sleeping Vishnu as goddess Yoga Nidra to wake him up in order to protect Brahma and the world from two asuras (demons), Madhu-Kaitabha. When Vishnu woke up he started a war against the two asuras. After a long battle with Lord Vishnu when the two demons were undefeated Mahakali took the form of Mahamaya to enchant the two asuras. When Madhu and Kaitabha were enchanted by Mahakali, Vishnu killed them.