When a perpetual inventory system is used, the unit costs of the items sold are known at the date of each sale. In contrast, when a periodic inventory system is used, unit costs are known only at the end of the accounting period. Why are these statements correct?