The two are factors of business environment.
Internal Environment refers to all the inlying forces and conditions present within the company, which can affect the company's working.The internal environment is company-specific and includes owners, workers, machines, materials etc.
External Environment is a set of all the exogenous forces that have the potential to affect the organization's performance, profitability, and functionality.The external environment is further divided into two components: micro & macro.