Original: They are a type of eccentric yogi in both Hinduism and Vajrayana Buddhism.
Simplified: The Mahasiddhas are actual people who lived in the past who had magical powers because of their spiritual practice.