According to Hinduism, Mahakal refers to lord Shiva as he is the destroyer of all elements. There is nothing beyond him, no element no dimensions not even time (kaal). That is why he is maha (greater) kaal (time).