UPS Interview Question

What does the virtual function do in C++