Trend Micro Inc. interview question

How does a buffer overflow work