Microsoft interview question

How does the virtual keyword function internally?