According to Hindu Mythology, Lord Shiva gave the knowledge of Yoga to Saptarishi.