Is it possible to get pregnant the few days before you get your period?

Tabby
Just curious, if your period is 5 days long, is it possible? Is it unlikely? How does that work