It can even take pictures in the dark because the display will be used as a floodlight, though in that case aiming doesn't really work unless the software brightening is sufficient to at least gain an idea.
Front camera also works as a mirror in a pinch, much easier than trying to aim the back camera then flipping the phone around and finding out how off you were.
Do people taking selfies even use the front camera? I feel like image quality is really rather poor for that use case but it's not my jam.