What is NAS (network-attached storage) and how does it work?