Explain the concept of Economic Order Quantity. What are the competing variables

Explain the concept of Economic Order Quantity. What are the competing variables? Give an example of how this applies in a business context.