Original: The box is defined as having zero potential energy inside a certain region and infinite potential energy everywhere outside that region.
Simplified: The well has zero potential energy inside a range and has infinite potential energy everywhere outside that range.