 Shiva got enraged and cut off one of Brahma's heads; the head stuck to Shiva's hand due to Brahma's curse.To get rid off the sin, Shiva worshipped the god Vishnu at Thirukarambanur as Bhikshatana, where a part of his sin was relieved.Shiva freed himself from the sin after visiting Vishnu at Thirukandiyur and taking a holy dip in the temple tank, Kamala Pushkarani.