A private subnet is a part of a computer network that cannot be reached from the public internet. It is often used to keep some computers or resources safe from outside access.