IBM Interview Question

What's a virtual function, why we need it?