I will attempt to answer that in as non-technical a way as I can, which may make some of it not exactly correct but more clear. First, I must say that it is probably better to read the basics than to watch videos.
You should start with trying to understand it in IPv4 (and later move to IPv6 if desired), which uses 32 binary bits to define an address -- some of those bit define the network and some define the hosts on that network.
It is now a part of CIDR (classless inter-domain routing), haviing evolved from an older way like everything in tech. If you are a precocious 5 year old read that entry (CIDR) on Wiki for an overview.
Subnetting allows you to alter a typical single 256 address address network into small subnets that break...