Despite his evil, cruel nature, Ravana was a very intelligent king. It was said that he had 10 heads which represents he had tremendous knowledge of 4 Vedas and 6 Upanishads.