One database box eventually runs out of disk, memory or write capacity. Sharding splits the data across machines by a key. The hard part is choosing that key, because every query, every transaction and every future resize depends on it.
This deep-dive architectural analysis is part of the System Design & 75 Labs pass.