Two goods are substitutes if, when the market price of the first good rises, the demand for the second good also rises.
demand | substitutes
bads | complements | substitutes
complements | substitutes