There are two environments in which any company operates. First one is external environment consist of opportunities and threats and…