Bhagavad Gita is part of Mahabharata. It is also considered as Smriti - Upanishad.