Deepfakes are fake videos and images created using artificial intelligence techniques to manipulate or replace a person's face with another. They work by training autoencoders to recognize facial features and reconstruct faces, allowing one person's facial expressions and movements to be seamlessly swapped onto another person's face. Popular targets of early deepfakes were celebrities, but the technique could be used for both positive and negative purposes to manipulate media and content.