Managers and leaders are not the same. Sometimes very close sometimes not even close. They say leaders do the right things, and managers do things right.
Leadership is more of art and management is a science. You learn latter from the books and courses, and you learn former by growing personally.