If an image has a solid black or white box placed over it, the original pixels underneath are completely deleted from the file.
It doesn't actually "see" through heavy censorship; instead, it uses AI to predict and recreate what a face should look like, which can sometimes look unnatural.
TouchRetouch is widely considered the gold standard for removing unwanted elements like text, stickers, or lines from photos.