What is the meaning of the term substitute products?

Every product has a competitor and also a substitute product, which non existence doesn’t matter from the customer point of view.The products that are viewed by the user as alternatives for other products. The substitution is rarely perfect, and varies from time to time depending on price, availability, etc.