By using reference, we avoid copy every object in vectors. By using const, we avoid accidentally changing the values of elements in vectors.