Dynasty.
Ancient India had two dynasties, the Lunar and the Sun dynasty.
Rama (Ramayana) belonged to the Sun Dynasty.
Krishna, Kauravas and Pandavas (Mahabharata) belonged to the lunar dynasty.