It is a real mirror, which means that it is not a duplicate room or an illusion. The project sends rays on the mirror, these rays bounce on it to guess the position of the different walls. This is called Raycasting. Does not work if the mirror is not horizontal (this will happen later)
Raycasting by @griffpatch