Can anybody give me an idiots guide into how the PS2 knows if it has an original disc in it please?

Thanks