Management is the process of planning,organizing,staffing,directing,controlling,reporting and budgeting of resources so as to achieve goals effectively and efficiently.
An organization is a group of people who put their skills together to achieve a common organizational goal.
Therefore,both management and organization are geared towards achieving an effective goal and organizing is a function of management.